From 2c5b8ae3bc996abee038a918bb692d741515180f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Uek=C3=B6tter?= Date: Mon, 19 Feb 2024 18:19:33 +0100 Subject: [PATCH 1/2] add privacy manifest for iOS --- .../ios/Resources/PrivacyInfo.xcprivacy | 14 ++++++++++++++ .../ios/flutter_inappwebview_ios.podspec | 1 + 2 files changed, 15 insertions(+) create mode 100644 flutter_inappwebview_ios/ios/Resources/PrivacyInfo.xcprivacy diff --git a/flutter_inappwebview_ios/ios/Resources/PrivacyInfo.xcprivacy b/flutter_inappwebview_ios/ios/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 000000000..0eca193ea --- /dev/null +++ b/flutter_inappwebview_ios/ios/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyTrackingDomains + + NSPrivacyAccessedAPITypes + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + + \ No newline at end of file diff --git a/flutter_inappwebview_ios/ios/flutter_inappwebview_ios.podspec b/flutter_inappwebview_ios/ios/flutter_inappwebview_ios.podspec index a08fa7fbb..e285f465f 100755 --- a/flutter_inappwebview_ios/ios/flutter_inappwebview_ios.podspec +++ b/flutter_inappwebview_ios/ios/flutter_inappwebview_ios.podspec @@ -17,6 +17,7 @@ A new Flutter plugin. s.resources = 'Storyboards/**/*.storyboard' s.public_header_files = 'Classes/**/*.h' s.dependency 'Flutter' + s.resource_bundles = {'flutter_inappwebview_ios_privacy' => ['Resources/PrivacyInfo.xcprivacy']} # Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported. s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' } From b55b7921683abc5f5c227a7e4a3511782db29dcc Mon Sep 17 00:00:00 2001 From: Takeru Chuganji Date: Thu, 2 May 2024 17:15:01 +0900 Subject: [PATCH 2/2] upgrade OrderedSet to add privacy manifest --- flutter_inappwebview_ios/ios/flutter_inappwebview_ios.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter_inappwebview_ios/ios/flutter_inappwebview_ios.podspec b/flutter_inappwebview_ios/ios/flutter_inappwebview_ios.podspec index e285f465f..49d67539e 100755 --- a/flutter_inappwebview_ios/ios/flutter_inappwebview_ios.podspec +++ b/flutter_inappwebview_ios/ios/flutter_inappwebview_ios.podspec @@ -31,7 +31,7 @@ A new Flutter plugin. s.swift_version = '5.0' s.platforms = { :ios => '11.0' } - s.dependency 'OrderedSet', '~>5.0' + s.dependency 'OrderedSet', '~>6.0' s.default_subspec = 'Core'