hnvn / flutter_image_cropper

A Flutter plugin for Android and iOS supports cropping images
1k stars 392 forks source link

Add iOS privacy manifests #478

Open jttuboi opened 7 months ago

jttuboi commented 7 months ago

Issue

~~By Apple's Privacy manifest guidelines, some action will be required such as adding an empty privacy manifests file even if you are not collecting anything.~~ Maybe it is good adding an empty privacy manifests file even if you are not collecting anything.

Apple's document: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files See https://github.com/flutter/flutter/issues/131940 for more context.

Solution suggestion

Add privacy manifests file (PrivacyInfo.xcprivacy) according to libraries privacy usage.

The following is an example of an empty privacy manifests file if this library is not collecting anything. device_info_plus/ios/PrivacyInfo.xcprivacy

hnvn commented 7 months ago

Looks like this plugin is not included in the list of SDK required App Privacy manifest: https://developer.apple.com/support/third-party-SDK-requirements/

selfprototype commented 7 months ago

Hi @hnvn ,

I hope this message finds you well

I agree with @jttuboi, that's considering Apple's recent emphasis on privacy it would be beneficial to include an empty privacy manifests file (PrivacyInfo.xcprivacy) in the iOS directory. Even though your library may not collect any user data, including this file can serve as a proactive step towards ensuring smooth approval during the App Store review process.

The current list of SDKs requiring an App Privacy manifest provided by Apple may not be exhaustive, cause this list provide: 'The following are commonly used SDKs in apps on the App Store', and adding the empty privacy manifests file could preemptively address any potential concerns raised during the review.

Thank you for considering this suggestion. Looking forward to your thoughts on this matter.