shaps80 / SwiftUIBackports

A collection of SwiftUI backports for iOS, macOS, tvOS and watchOS
MIT License
931 stars 59 forks source link

Add privacy manifest for UserDefaults #71

Closed skyfoxa closed 2 months ago

skyfoxa commented 2 months ago

Description

Because the library uses UserDefaults, it has to contain PrivacyInfo manifest, check Apple doc

Why is this needed?

Starting March 13: If you upload a new or updated app to App Store Connect that uses an API requiring approved reasons, we’ll send you an email letting you know if you’re missing reasons in your app’s privacy manifest. This is in addition to the existing notification in App Store Connect.

Starting May 1: You’ll need to include approved reasons for the listed APIs used by your app’s code to upload a new or updated app to App Store Connect. If you’re not using an API for an allowed reason, please find an alternative. And if you add a new third-party SDK that’s on the list of commonly used third-party SDKs, these API, privacy manifest, and signature requirements will apply to that SDK. Make sure to use a version of the SDK that includes its privacy manifest and note that signatures are also required when the SDK is added as a binary dependency.

https://developer.apple.com/news/?id=3d8a9yyh

shaps80 commented 2 months ago

Amazing, thanks for this!

skyfoxa commented 2 months ago

@shaps80 Is there any chance we can move forward with this and get it merged? We would like to make a new release on our end, and this requirement may be a blocker for us, as Apple starts requiring it starting today (May 1).

shaps80 commented 2 months ago

Good point yep I'll sort today