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

Inclusion of PrivacyInfo.xcprivacy in Mixpanel Flutter Package for iOS #145

Open
himanshu-newstok opened this issue Apr 25, 2024 · 2 comments

Comments

@himanshu-newstok
Copy link

Apple recently announced a new requirement stating that third-party SDKs utilizing platform APIs must include PrivacyInfo.xcprivacy in their packages for iOS integration. Given Mixpanel's integration with iOS platforms, it's important to address this requirement to ensure compliance.

I would like to inquire whether Mixpanel intends to include PrivacyInfo.xcprivacy in its Flutter package for iOS. Could the Mixpanel team provide insights on whether this addition is necessary or if there are any plans to incorporate it in the future?

Your clarification on this matter would be greatly appreciated.

@DaVaMa1
Copy link

DaVaMa1 commented Apr 30, 2024

Running this analyzer gives me a warning of a possible missing declaration:

Analyzing Mixpanel-swift ...
⚠️  Missing privacy manifest file!
API usage analysis result(s): 5
[0] NSPrivacyAccessedAPICategoryUserDefaults:UserDefaults:./ios/Pods/Mixpanel-swift/Sources/AutomaticEvents.swift
[1] NSPrivacyAccessedAPICategoryUserDefaults:UserDefaults:./ios/Pods/Mixpanel-swift/Sources/MixpanelInstance.swift
[2] NSPrivacyAccessedAPICategoryUserDefaults:UserDefaults:./ios/Pods/Mixpanel-swift/Sources/MixpanelPersistence.swift
[3] NSPrivacyAccessedAPICategoryUserDefaults:UserDefaults:./ios/Pods/Mixpanel-swift/Sources/People.swift
[4] NSPrivacyAccessedAPICategoryUserDefaults:UserDefaults:./ios/Pods/Mixpanel-swift/Sources/Track.swift
🛠️  Descriptions for the following required API reason(s) may be missing: 1
[0] NSPrivacyAccessedAPICategoryUserDefaults

Could you please validate if you think this is correct and if so implement the necessary file?

@himanshu-newstok
Copy link
Author

So the latest mixpanel_flutter package already have the privacy file included. I have consulted with the mixpanel team and they said to switch to ios sdk 4.2.3 or higher. And in latest version of mixpanel_flutter they uses 4.2.5 ios sdk.
image

It's just that can't switch to latest versionn due to package constraint upgrade js to 0.7.1 #138. In my project many other packages like google_mobile_ads, google_maps_flutter etc uses js below 0.7.1 causing conflicts.

It will be great if the mixpanel team can approve the pr #142

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants