Skip to content

Commit 5743bad

Browse files
committed
feat: add ios 17 documentation [netlify-build]
1 parent d2e44ca commit 5743bad

File tree

3 files changed

+61
-0
lines changed

3 files changed

+61
-0
lines changed

.tool-versions

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ruby 2.7.8

src/_data/sidenav/strat.yml

+2
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ sections:
215215
title: Typewriter for Swift
216216
- path: /connections/sources/catalog/libraries/mobile/apple/swift-destination-filters
217217
title: Destination Filters for Swift
218+
- path: /connections/sources/catalog/libraries/mobile/apple/ios-17
219+
title: iOS 17 & Privacy Manifests
218220

219221
- slug: node-js
220222
section_title: Analytics-Node.js Documentation
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
title: iOS 17 & Privacy Manifests
3+
strat: swift
4+
tags:
5+
- apple
6+
- swift
7+
- ios
8+
---
9+
10+
> info ""
11+
> iOS 17 and Xcode 15 are still in beta. The information below is subject to change as these > features become generally available.
12+
>
13+
14+
Apple has already begun to roll out new privacy features that will eventually become mandatory in iOS 17. For instance, you may have already seen or worked with [Privacy Nutrition Labels](https://www.apple.com/privacy/labels/). Privacy Nutrition Labels make it possible for users to better understand what information is being collected in your app. It is currently an optional feature but Apple expects to make this [mandatory in the Spring of 2024](https://developer.apple.com/news/?id=z6fu1dcu#:~:text=And%20starting%20in%20spring%202024,your%20app%20uses%20the%20API.).
15+
16+
## Privacy Manifests
17+
18+
While developers are ultimately responsible creating a Privacy Nutrition Label, it can be difficult to know exactly what all of their third-party SDKs are tracking. To make this easier, Apple is introducting Privacy Manifests in iOS 17. Over the next few months, you can expect all of the third-party SDKs in your app to include a Privacy Manifest.
19+
20+
## Required Reason API
21+
22+
In an effort to limit fingerprinting, Apple is also making plans to have developers [delcare the reason for using specific APIs](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api#overview). The Analytics-Swift library only uses the [`userDefaults`](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api#4278401) API to store user and context information. It is declared in the Privacy Manifest found in Analytics Swift.
23+
24+
## Tracking Domains
25+
26+
Apple is also introducing the concept of [NSPrivacyTrackingDomains](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files#4284009) to Privacy Manifests in iOS 17. This is an array of strings that lists the URLs the app connects to in order to aid in tracking. If the user has not granted tracking permission through the App Tracking Transparency framework, network requests to these domains fail and your app receives an error. The Analytics-Swift Privacy Manifest includes the endpoint Segment events are sent to.
27+
28+
> info ""
29+
> If you set NSPrivacyTracking to true then you need to provide at least one internet domain > in NSPrivacyTrackingDomains; otherwise, you can provide zero or more domains.
30+
31+
32+
## Analytics-Swift Privacy Manifest
33+
34+
You can find the [Privacy Manifest for Analytics-Swift here](). The Segment Privacy Manifest includes an array of [Privacy Nutrition Label Types](https://developer.apple.com/app-store/app-privacy-details/#data-type) for the following automatically collected fields:
35+
36+
| Data | Linked To User | Used For Tracking | Reason for Collection |
37+
| -------------------| ---------------| ------------------| ---------------------- |
38+
| `Advertising Data` | No | No | Developer's Advertising or Marketing |
39+
| `Precise Location` | Yes | No | Developer's Advertising or Marketing |
40+
| `App Version` | No | No | Developer's Advertising or Marketing |
41+
| `App Name` | No | No | Developer's Advertising or Marketing |
42+
| `Device ID` | Yes | No | Developer's Advertising or Marketing |
43+
44+
45+
## Additional Privacy Manifests
46+
- [Analytics-Swift Engage Plugin]()
47+
- [Analytics-iOS (Classic)]()
48+
49+
50+
## Generating Your Privacy Report
51+
52+
Follow [the steps outlined here](https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_data_use_in_privacy_manifests) by Apple to generate your Privacy Report. Privacy Manifests make it easier to account for the data collected by third-party SDKs, but should not be considered a comprehensive list for your Privacy Report. Your Privacy Report is also subject to your Segment tracking implementation. If you're not certain about all of the data you're collecting, [Protocols](https://segment.com/docs/protocols/) and a [Tracking Plan](https://segment.com/docs/protocols/tracking-plan/create/) can make it easy to account for everything being tracked in your app.
53+
54+
> success ""
55+
> Privacy Manifests are not necessary for Device Mode Plugins as Analytics-Swift does not collect any additional information or make >any network requests to Segment endpoints in Destination Plugins.
56+
57+
58+

0 commit comments

Comments
 (0)