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

Warning about Bluetooth Permission when submitting app to iOS App Store #55

Closed
dpogoda opened this issue Sep 12, 2018 · 3 comments
Closed

Comments

@dpogoda
Copy link

dpogoda commented Sep 12, 2018

After submitting my app with react-native-system-setting 1.5.3 to the iOS App Store I received the following mail:

Dear Developer,
We identified one or more issues with a recent delivery for your app. Please correct the following issues, then upload again.
Missing Purpose String in Info.plist File - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSBluetoothPeripheralUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data will be required to include a purpose string.If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).
Best regards,
The App Store Team

Since I don't use Bluetooth anywhere in the app, I guess it's because this package can manage bluetooth as well.
Does anyone else have a similar problem?

PS: I used setAppStore(true).

@dpogoda dpogoda changed the title Warning when submitting app to iOS App Store Warning about Bluetooth Permission when submitting app to iOS App Store Sep 12, 2018
@c19354837
Copy link
Owner

You can add NSBluetoothPeripheralUsageDescription in your Info.plist as a workaround. Like this

I'll try to find a final solution.

@prakashw3expert
Copy link

Yes, i'm facing the same issue. In app i need only control value while not using bluetooth. After adding purpose string still apple rejected app.

We identified one or more issues with a recent delivery for your app, "FacilGo®". Please correct the following issues, then upload again.

Missing Purpose String in Info.plist File - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSBluetoothPeripheralUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data will be required to include a purpose string.If you're using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn't contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).

@c19354837
Copy link
Owner

V1.7.0 remove bluetooth codes by default. I think it's more friendly for you who don't need bluetooth. See change log

I also disable some other APIs by default in V1.7.0 You can enable it by this

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

No branches or pull requests

3 participants