From 00815861bb1669c9a9b85d08b8fb232742ba2e9b Mon Sep 17 00:00:00 2001 From: Shotaro Aoki <38206334+ikoamu@users.noreply.github.com> Date: Mon, 4 Mar 2024 00:11:42 +0900 Subject: [PATCH] Add iOS privacy manifests (#668) Thanks @ikoamu! --- ios/Resources/PrivacyInfo.xcprivacy | 14 ++++++++++++++ ios/flutter_native_splash.podspec | 1 + 2 files changed, 15 insertions(+) create mode 100644 ios/Resources/PrivacyInfo.xcprivacy diff --git a/ios/Resources/PrivacyInfo.xcprivacy b/ios/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..a34b7e2 --- /dev/null +++ b/ios/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyTrackingDomains + + NSPrivacyAccessedAPITypes + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + + diff --git a/ios/flutter_native_splash.podspec b/ios/flutter_native_splash.podspec index 1eae6e5..1274eed 100644 --- a/ios/flutter_native_splash.podspec +++ b/ios/flutter_native_splash.podspec @@ -17,6 +17,7 @@ A new Flutter project. s.public_header_files = 'Classes/**/*.h' s.dependency 'Flutter' s.platform = :ios, '9.0' + s.resource_bundles = {'flutter_native_splash_privacy' => ['Resources/PrivacyInfo.xcprivacy']} # Flutter.framework does not contain a i386 slice. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }