-
Notifications
You must be signed in to change notification settings - Fork 609
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
iOS 13 requires new usage string #700
Comments
Thanks to the cordova-custom-config plugin, we don't need to edit anything but our <custom-config-file parent="NSBluetoothAlwaysUsageDescription" platform="ios" target="*-Info.plist">
<string>This app would like to access Bluetooth.</string>
</custom-config-file> |
Also NSBluetoothPeripheralUsageDescription is deprecated. |
@marioshtika NSBluetoothPeripheralUsageDescription is deprecated but still needed for iOS 12. There's a pull request #704 to fix this, it should be in the next release. |
Fixed by #704 in version 1.2.3 |
Thanks @don, it feels good to see the plugin updated! 👍 |
my app is continually being rejected by the appstore because of this. I have set The application uses a serial bluetooth connection to connect to a bluetooth module on the Arduino Enoch Paintball Board for the purpose of changing configuration settings.in my config.xml file, but Apple is reporting the it says " Would Like to Use Bluetooth" which seems like a default. What am i doing wrong? |
The default usage description is an empty string. https://github.com/don/cordova-plugin-ble-central/blob/master/plugin.xml#L40-L47 You can specify the usage description when installing the plugin https://github.com/don/cordova-plugin-ble-central#ios Look in appname-info.plist to see or edit the values for your app. |
I'm using this plugin with Ionic 5 and the app got rejected:
The app's Info.plist file should contain a NSBluetoothAlwaysUsageDescription 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 are required to include a purpose string.
I added this to plugin.xml for a quick fix:
The text was updated successfully, but these errors were encountered: