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

Missing an expected key: NSPrivacyCollectedDataTypes #1083

Open
5 of 11 tasks
AlecCode77 opened this issue May 24, 2024 · 4 comments
Open
5 of 11 tasks

Missing an expected key: NSPrivacyCollectedDataTypes #1083

AlecCode77 opened this issue May 24, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@AlecCode77
Copy link

‼️ 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

  • Output of flutter doctor
  • Version of purchases-flutter
  • Testing device version e.g.: iOS 15.5, Android API 30, etc.
  • How often the issue occurs- every one of your customers is impacted? Only in dev?
  • Debug logs that reproduce the issue
  • Steps to reproduce, with a description of expected vs. actual behavior
    Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)

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

@AlecCode77 AlecCode77 added the bug Something isn't working label May 24, 2024
@RCGitBot
Copy link
Contributor

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

@michaelAtRC
Copy link

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
Copy link
Author

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
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants