-
Notifications
You must be signed in to change notification settings - Fork 6k
Add xcprivacy privacy manifest to iOS framework #48951
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I only wonder if someone of these review comments are better suited as |
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,34 @@ | ||||||||
<?xml version="1.0" encoding="UTF-8"?> | ||||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||||||||
<plist version="1.0"> | ||||||||
<dict> | ||||||||
<key>NSPrivacyTracking</key> | ||||||||
<false/> | ||||||||
<key>NSPrivacyTrackingDomains</key> | ||||||||
<array/> | ||||||||
<key>NSPrivacyCollectedDataTypes</key> | ||||||||
<array> | ||||||||
<dict/> | ||||||||
</array> | ||||||||
Comment on lines
+5
to
+12
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. False and empty, we are not tracking or collecting. |
||||||||
<key>NSPrivacyAccessedAPITypes</key> | ||||||||
<array> | ||||||||
<dict> | ||||||||
<key>NSPrivacyAccessedAPIType</key> | ||||||||
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string> | ||||||||
<key>NSPrivacyAccessedAPITypeReasons</key> | ||||||||
<array> | ||||||||
<string>0A2A.1</string> | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||||||||
<string>C617.1</string> | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For app state restoration in
engine/shell/platform/darwin/ios/framework/Source/FlutterAppDelegate.mm Lines 327 to 329 in a1777a3
|
||||||||
</array> | ||||||||
</dict> | ||||||||
<dict> | ||||||||
<key>NSPrivacyAccessedAPIType</key> | ||||||||
<string>NSPrivacyAccessedAPICategorySystemBootTime</string> | ||||||||
<key>NSPrivacyAccessedAPITypeReasons</key> | ||||||||
<array> | ||||||||
<string>35F9.1</string> | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||||||||
</array> | ||||||||
</dict> | ||||||||
</array> | ||||||||
</dict> | ||||||||
</plist> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a comment linking to https://developer.apple.com/documentation/bundleresources/privacy_manifest_files here to provide context on what this is and why we are doing it?
Although developer.apple.com links are notoriously fragile, so 🤷🏻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't explain Info.plists, or modulemaps, or the values within those files, or any other thing we move around in this gn file. In 2 years when you Google "PrivacyInfo.xcprivacy" you'll see the most relevant info, and when you
git blame
you'll find this PR with my thorough description. However adding the link is harmless so I'll do that.