Skip to content

Commit

Permalink
Fix #573
Browse files Browse the repository at this point in the history
iOS privacy manifest framework. Requires android-ios 7.1.0+.
  • Loading branch information
eb1 committed Apr 17, 2024
1 parent 784ab11 commit 3f3908c
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
36 changes: 36 additions & 0 deletions config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,42 @@
<resource-file src="www/res/icon/ios/usx_44.png" />
<resource-file src="www/res/icon/ios/usx_64.png" />
<resource-file src="www/res/icon/ios/usx_320.png" />
<!-- EDB 5 Apr 2024: new privacy API requirement for iOS / this fills in PrivacyInfo.xcprivacy template -->
<privacy-manifest>
<key>NSPrivacyTracking</key>
<false />
<key>NSPrivacyTrackingDomains</key>
<array />
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>0A2A.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>E174.1</string>
</array>
</dict>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
</privacy-manifest>
<!-- EDB 8/16/21 TODO: config-file items are up to date, but some icon files do need to be
manually copied over into the XCode project before releasing. -->
<config-file mode="replace" parent="UISupportedInterfaceOrientations" target="*-Info.plist">
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"devDependencies": {
"cordova-android": "^12.0.1",
"cordova-clipboard": "github:ihadeed/cordova-clipboard",
"cordova-ios": "^7.0.1",
"cordova-ios": "^7.1.0",
"cordova-plugin-add-swift-support": "^2.0.2",
"cordova-plugin-chooser": "^1.3.2",
"cordova-plugin-customurlscheme": "^5.0.2",
Expand Down Expand Up @@ -95,4 +95,4 @@
"ios"
]
}
}
}

0 comments on commit 3f3908c

Please sign in to comment.