Skip to content

Commit 8e4227c

Browse files
Merge pull request #2029 from ueman/privacy-manifest
Add privacy manifest for iOS
2 parents 18136c2 + 7541c39 commit 8e4227c

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>NSPrivacyTrackingDomains</key>
6+
<array/>
7+
<key>NSPrivacyAccessedAPITypes</key>
8+
<array/>
9+
<key>NSPrivacyCollectedDataTypes</key>
10+
<array/>
11+
<key>NSPrivacyTracking</key>
12+
<false/>
13+
</dict>
14+
</plist>

flutter_inappwebview_ios/ios/flutter_inappwebview_ios.podspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ A new Flutter plugin.
1717
s.resources = 'Storyboards/**/*.storyboard'
1818
s.public_header_files = 'Classes/**/*.h'
1919
s.dependency 'Flutter'
20+
s.resource_bundles = {'flutter_inappwebview_ios_privacy' => ['Resources/PrivacyInfo.xcprivacy']}
2021

2122
# Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported.
2223
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
@@ -30,7 +31,7 @@ A new Flutter plugin.
3031
s.swift_version = '5.0'
3132

3233
s.platforms = { :ios => '11.0' }
33-
s.dependency 'OrderedSet', '~>5.0'
34+
s.dependency 'OrderedSet', '~>6.0'
3435

3536
s.default_subspec = 'Core'
3637

0 commit comments

Comments
 (0)