-
-
Notifications
You must be signed in to change notification settings - Fork 847
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
Updating mapbox-maps-ios to 10.17.0 - May 1st iOS Privacy Manifest issue #3447
Comments
It will only fix: ITMS-91056: Invalid privacy manifest You can already use it: ios/Podfile To scan for the other ITMS: https://github.com/Wooder/ios_17_required_reason_api_scanner |
@hexadecy after adding the following in Podfile:
Email: TMS-91053: Missing API declaration - Your app’s code in the “appName” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategoryDiskSpace. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api. ITMS-91053: Missing API declaration - Your app’s code in the “appName” file references one or more APIs that require reasons, including the following API categories: NSPrivacyAccessedAPICategorySystemBootTime. While no action is required at this time, starting May 1, 2024, when you upload a new app or app update, you must include a NSPrivacyAccessedAPITypes array in your app’s privacy manifest to provide approved reasons for these APIs used by your app’s code. For more details about this policy, including a list of required reason APIs and approved reasons for usage, visit: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api. |
@andreirat you need the PrivacyInfo.xcprivacy file. It can be auto-created at the iOS Build step if you have a react-native version above these: For the DiskSpace, maybe you need to update this dep: |
Thanks @hexadecy, I'll give it a try. |
I am using @rnmapbox/maps 10.1.19 ITMS-91056: Invalid privacy manifest - The PrivacyInfo.xcprivacy file from the following path is invalid: “Frameworks/MapboxCommon.framework/PrivacyInfo.xcprivacy” Edit: tried submission with @rnmapbox/maps 10.1.20 and I got the same warning email about 91056 Edit: the PrivacyInfo files don't seem to be updated during build/install, so I manually updated my files with the code from 10.17.0 and so far I haven't received the warning email. |
Same issue here |
Also experiencing this issue. In an Expo managed project, the Podfile is generated at build time, and it's not possible to safely modify it either, so the workaround of directly updating the Podfile will not work for these projects. |
You must purge the ios folder when you update mapbox-maps-ios. "scripts": {
"purge:ios": "rm -rf ios/Pods ios/build ~/Library/Caches/CocoaPods ~/Library/Developer/Xcode/DerivedData && cd ios && bundle exec pod cache clean --all && cd ..",
} |
any updates about this for expo devs? |
@mattpetrie did you find solution to this? I am getting invalid binary issue error for expo managed project. I have added version 10.1.20. |
1.) Expo users can modify the version with config plugin setting, so no need to modify the Podfile for expo users. |
Expo managed flow using version > 11 in app.confing.ts or app.json@mattpetrie or anyone who is using expo managed flow. if you are using '@rnmapbox/maps',
{
RNMapboxMapsImpl: 'mapbox',
RNMapboxMapsDownloadToken: MAPBOX_API_KEY,
RNMapboxMapsVersion: '11.3.0',
}, That way it should solve this issue. |
Thank you @kuldip-simform! I can confirm that this does solve the issue in an Expo managed workflow project. |
Confirm that update to 10.17.0 fixed the warning Remember to run
|
Thanks in advance |
Can you explain how you did this? |
For anybody using MapboxNavigation facing this, upgrade to 2.18!
|
@Manikandan-saminathan This steps looks like for RN workflow not Expo. |
I am using bare react-native application. Used versions
Note: I did not specify and static version in Pod file |
I am getting the binary rejection from app store with the following versions: react-native : 0.69.7 |
@doneill If you are using expo, can you please check my comment and see if this resolves your issue or not. Even if you are not using expo and just using v11 then this should put you in right direction. |
@kuldip-simform Not using expo |
"May 1st is the deadline to have a proper privacy manifest on iOS to be able to release updates to apps which use this package, mapbox/mapbox-maps-ios#2145 details the issue and it seems like the fix was released as part of mapbox-maps-ios 10.17.0"
It looks like mapbox-maps-flutter is releasing an upgrade soon: mapbox/mapbox-maps-flutter#475
Will there be a similar release for rnmapbox?
The text was updated successfully, but these errors were encountered: