SiftScience / sift-ios

Sift iOS SDK
MIT License
19 stars 25 forks source link

PrivacyInfo manifest update #143

Closed SreelekhN closed 7 months ago

SreelekhN commented 8 months ago

Purpose

PrivacyInfo manifest : - Describe the data your app or third-party SDK collects and the reasons required APIs it uses.

Summary

Testing

Checklist

djs-code commented 7 months ago

@SreelekhN Looking at the current diff, wouldn't we also require a NSPrivacyAccessedAPITypes dictionary with a NSPrivacyAccessedAPICategorySystemBootTime key as well given Sift's use of NSProcessInfo.processInfo.systemUptime in SiftIosAppStateCollector? As of our last release submission, the App Store Connect is now providing the following warning to us:

ITMS-91053: Missing API declaration - Your app’s code in the “redacted” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategorySystemBootTime. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api.