-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
What information needs to be added?
Apple introduced the concept privacy manifests:
Apps and third-party SDKs — distributed as XCFrameworks, Swift packages, or Xcode projects — can contain a privacy manifest file, named PrivacyInfo.xcprivacy. The privacy manifest is a property list that records the following information:
The types of data collected by your app or third-party SDK. You need to provide this information for your app or third-party SDK on all platforms.
The required reasons APIs your app or third-party SDK uses. You need to provide this information for your app or third-party SDK on iOS, iPadOS, tvOS, visionOS, and watchOS.
For each type of data your app or third-party SDK collects and category of required reasons API it uses, the app or third-party SDK needs to record the reasons in its bundled privacy manifest file.
We should add instructions for how plugin authors can add a privacy manifest to their CocoaPods podspec, if their plugin requires it due to data collection for using a "required reasons API".
Where should this new content appear?
Flutter will be swapping from CocoaPods to Swift Package Manager for iOS and macOS native dependency management. The new docs PR (#10827) already include instructions for plugin authors to add a privacy manifest to the Swift package, if needed.
Add a similar note to https://docs.flutter.dev/packages-and-plugins/developing-packages#add-cocoapod-dependencies.
s.resource_bundles = {'shared_preferences_foundation_privacy' => ['shared_preferences_foundation/Sources/shared_preferences_foundation/Resources/PrivacyInfo.xcprivacy']}flutter/flutter#131940 (comment)
I would like to fix this problem.
- I will try and fix this problem on docs.flutter.dev.