sberrevoets / SDCAlertView

The little alert that could
MIT License
1.86k stars 297 forks source link

Privacy Manifest #333

Closed mobru closed 5 months ago

mobru commented 5 months ago

Hi there,

As of May 1st 2024, Apple requires third-party SDKs to add a Privacy Manifest file. https://developer.apple.com/support/third-party-SDK-requirements/ https://developer.apple.com/documentation/bundleresources/privacy_manifest_files

Are there plans to include a Privacy Manifest?

sberrevoets commented 5 months ago

See https://github.com/sberrevoets/SDCAlertView/issues/332

I don't think this library requires a privacy manifest but if you think differently please let me know!

mobru commented 5 months ago

Honestly, I’m not entirely sure myself. Apple is vague here - they do say that 3rd party SDKs are required to do so.

Does the SDCAlertView use the UserDefaults, or any other “required reason API” (see https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api)? If so , then yes, you need one. If not… idk?? Maybe then an “empty” privacy manifest would be enough?

I could make one for you via a pull request, but probably not before April (I’m on vacation until then) if you’d prefer?

sberrevoets commented 5 months ago

Right, it's my understanding that since the library doesn't use any of those APIs no privacy manifest is required. We've been getting warnings from Apple for libraries that do require one but haven't added it yet, so I think that means SDCAlertView is safe. Let's wait and see for a bit and if it becomes clear it does need one we can add one at that time.