Skip to content

Commit 34fe31e

Browse files
fix(device_info_plus): Add iOS Privacy Info (#2582)
1 parent 3b0cd6c commit 34fe31e

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
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>

packages/device_info_plus/device_info_plus/ios/device_info_plus.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ Downloaded by pub (not CocoaPods).
1919
s.dependency 'Flutter'
2020
s.platform = :ios, '11.0'
2121
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
22+
s.resource_bundles = {'device_info_plus_privacy' => ['PrivacyInfo.xcprivacy']}
2223
end
2324

0 commit comments

Comments
 (0)