Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Are there any plans to add Privacy Manifests? #584

Open
StatusCode200 opened this issue Mar 1, 2024 · 9 comments
Open

[iOS] Are there any plans to add Privacy Manifests? #584

StatusCode200 opened this issue Mar 1, 2024 · 9 comments
Labels
dependencies Pull requests that update a dependency file

Comments

@StatusCode200
Copy link

Apple recently announced that starting in Spring 2024, apps will be required to include more privacy-related reasoning for "third-party SDKs." This includes providing details in privacy manifests about data use by these SDKs. You can read more about this requirement on the Apple Developer website: Describing Data Use in Privacy Manifests

Many popular Flutter plugins, such as shared_preferences, have already implemented these manifests. You can see an example of such a manifest in the shared_preferences plugin here: PrivacyInfo.xcprivacy

Given these upcoming requirements, it's important to note that even libraries that do not collect privacy-policy-relevant information may need to include an empty PrivacyInfo.xcprivacy file to avoid potential rejection.

Thank you for your attention to this matter.

@ShuheiSuzuki-07
Copy link

MLKit seems to be supported by
googlesamples/mlkit#795

I am sure the flutter plugin will support it after the above release.

It would be nice to have some kind of announcement.

@fbernaly
Copy link
Collaborator

fbernaly commented Apr 9, 2024

I have been very busy with my job and personal life. Contributions are welcome. Send your PRs and I will review them ASAP. So far I do not have an ETA for all the new features.

@ShuheiSuzuki-07
Copy link

ShuheiSuzuki-07 commented Apr 19, 2024

The latest MLKit has been released. 
googlesamples/mlkit#795 (comment)

I would like to work on creating a PR

@fbernaly
Copy link
Collaborator

@ShuheiSuzuki-07 : I do not have an ETA for this new feature. Feel free to send your PR with your contribution.

@pongloongyeat
Copy link

Seems like there was a recent release on pub which included the commits to bump MLKit deps. However, it seems like I'm still getting an outdated version of the dependencies. Am I missing something?

pubspec.yaml:

environment:
  sdk: '>=3.3.1 <4.0.0'

dependencies:
  flutter:
    sdk: flutter
  google_mlkit_face_detection: ^0.10.1
image

This also causes our app to receive the privacy manifest warning, which I believe is caused by GoogleToolboxForMac as per this comment

@ShuheiSuzuki-07
Copy link

@pongloongyeat
Thanks to the efforts of the author and contributors, the latest version of this plugin was released a few hours ago. If you use it, the problem with GoogleToolBoxForMac should be solved.

Reference:
#621
https://developers.google.com/ml-kit/release-notes?hl=ja

image

@fbernaly
Copy link
Collaborator

Confirm if with the latest release this issue is fixed. Then close the issue.

@fbernaly fbernaly added the dependencies Pull requests that update a dependency file label Apr 26, 2024
@pongloongyeat
Copy link

Can confirm that the latest release does indeed come with the updated GoogleToolboxForMac. However, I'm still getting the privacy manifest issue on an empty Flutter project with just google_mlkit_face_detection: ^0.11.0 whereas a completely empty Flutter project does not cause any problems. Could this be related to a bug with AppStore Connect?.

Looking through each of Runner's framework's privacy manifests very briefly, it seems like all dependencies except Runner itself declares a privacy manifest file. To that end, I'm not sure if the issue is on this package or with Flutter itself.

@fbernaly
Copy link
Collaborator

Since an empty project works, I would recommend to create a new project with the latest Flutter plugin and the copy the lib folder and yaml file of your old project into that new project and then compile and see if the new Xcode configuration of that new Flutter template works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

4 participants