RevenueCat / purchases-flutter

Flutter plugin for in-app purchases and subscriptions. Supports iOS, macOS and Android.
https://www.revenuecat.com/
MIT License
607 stars 168 forks source link

Missing an expected key: NSPrivacyCollectedDataTypes #1083

Open AlecCode77 opened 4 months ago

AlecCode77 commented 4 months ago

‼️ Required data ‼️

Do not remove any of the steps from the template below. If a step is not applicable to your issue, please leave that step empty.

There are a lot of things that can contribute to things not working. Having a very basic understanding of your environment will help us understand your issue faster!

Environment

Describe the bug

Apple Privacy report the following error:

Missing an expected key: 'NSPrivacyCollectedDataTypes' Runner.app/Frameworks/PurchasesHybridCommon.framework/PurchasesHybridCommon.bundle/PrivacyInfo.xcprivacy

The PrivacyInfo.xcprivacy is missing the NSPrivacyCollectedDataTypes key. Any Thoughts?

Thank you

RCGitBot commented 4 months ago

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

michaelAtRC commented 4 months ago

Hey There,

Can you try re-installing the SDK and let me know if that helps? I will share this with the team in the mean time.

AlecCode77 commented 4 months ago

I have already tried re-installing the SDK. This won't help since the key 'NSPrivacyCollectedDataTypes' is missing from PurchasesHybridCommon.bundle/PrivacyInfo.xcprivacy As a temporary solution I had to manually add the key to get rid of the error

michaelAtRC commented 3 months ago

Hey @AlecCode77,

Glad to hear that you have the temporary solution working. We changed this a few months ago to adhere to the latest version of XCode I believe. Which version of XCode are you experiencing this on?

ysfsl commented 1 week ago

Any update for that?