-
-
Notifications
You must be signed in to change notification settings - Fork 306
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: privacy manifest collection purposes type #3275
fix: privacy manifest collection purposes type #3275
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3275 +/- ##
=============================================
- Coverage 89.223% 89.218% -0.005%
=============================================
Files 501 502 +1
Lines 53949 54250 +301
Branches 19170 19453 +283
=============================================
+ Hits 48135 48401 +266
+ Misses 4958 4880 -78
- Partials 856 969 +113 Continue to review full report in Codecov by Sentry.
|
Thanks @FelixHerrmann for the fix! I pushed a changelog fix and let's see how CI does on that commit. For easier diffing, here're the significant changes not including whitespace: |
Yes, much better to read, thanks for sending this! |
I'm going to close this one in favor of #3276, I think there's a permission error with the CI jobs on this one. Thanks again for the PR! |
All good, thanks for picking this up so quickly! |
@armcknight do you think thats a general issue or just with this particular PR? I have another small fix for you but I can also open an issue, let me know! |
I think it's because it's in a fork. If you push a branch directly to this remote for a PR, we should be able to authorize CI jobs containing sensitive info. Thanks for all your efforts @FelixHerrmann 馃檹馃徎 |
Gotcha, will try next time! I just saw that the issue already got fixed in #3270, it's just not released yet 馃憤馃徎 |
馃摐 Description
Change NSPrivacyCollectedDataTypePurposes type from string to array.
Note: Using the Property List representation of Xcode will use tabs instead of spaces under the hood, that's why the git diff is not super readable...
馃挕 Motivation and Context
We have started configuring the privacy manifest for our app. The generated Privacy Report from the Xcode Organizer presented us the following error:
Checking Sentry's manifest file confirmed it, the NSPrivacyCollectedDataTypePurposes (Collection Purposes) had the wrong type, string instead of array.
馃挌 How did you test it?
I haven't tested it by generating another report but Apple's docs clearly define it as an array of strings and the Xcode Property List representation shows the correction display names instead of the underlying key (Item 1 is fixed, Item 2 is original):
馃摑 Checklist
You have to check all boxes before merging:
sendDefaultPII
is enabled.馃敭 Next steps