forked from firka/flutter
Add PrivacyInfo.xcprivacy to macOS plugin template (#155570)
macOS version of https://github.com/flutter/flutter/pull/148485 without NSPrivacyAccessedAPITypes. Fixes https://github.com/flutter/flutter/issues/155563
This commit is contained in:
@@ -26,6 +26,18 @@ Pod::Spec.new do |s|
|
||||
{{^withSwiftPackageManager}}
|
||||
s.source_files = 'Classes/**/*'
|
||||
{{/withSwiftPackageManager}}
|
||||
|
||||
# If your plugin requires a privacy manifest, for example if it collects user
|
||||
# data, update the PrivacyInfo.xcprivacy file to describe your plugin's
|
||||
# privacy impact, and then uncomment this line. For more information,
|
||||
# see https://developer.apple.com/documentation/bundleresources/privacy_manifest_files
|
||||
{{#withSwiftPackageManager}}
|
||||
# s.resource_bundles = {'{{projectName}}_privacy' => ['{{projectName}}/Sources/{{projectName}}/PrivacyInfo.xcprivacy']}
|
||||
{{/withSwiftPackageManager}}
|
||||
{{^withSwiftPackageManager}}
|
||||
# s.resource_bundles = {'{{projectName}}_privacy' => ['Resources/PrivacyInfo.xcprivacy']}
|
||||
{{/withSwiftPackageManager}}
|
||||
|
||||
s.dependency 'FlutterMacOS'
|
||||
|
||||
s.platform = :osx, '10.11'
|
||||
|
||||
Reference in New Issue
Block a user