Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
IOS parameter in custom config plugin
-
I seem to be having trouble the the custom config plugin. I am getting an error from the app store saying
Missing Info.plist key - This app attempts to access privacy-sensitive data without a usage description. The app’s Info.plist must contain an NSBluetoothPeripheralUsageDescription key with a string value explaining to the user how the app uses this data.
I need to add the NSBluetoothPeripheralUsageDescription to the info.plist with a short summary text, but i cant seem to figure out how to do that in the custom plugin
I tried
NSBluetoothPeripheralUsageDescription = BLE connection for Android
and other ways of typing it, but nothing seems to stick.
-
@jptheripper
Apple requires you to input a description for asking the user’s permission to use Bluetooth in your app. Therefore, please add the following settings to yourconfig.xml
file. Make sure to write your description with the<string>
tag:<config-file platform="ios" target="*-Info.plist" parent="NSBluetoothPeripheralUsageDescription"> <string> WRITE YOUR USAGE DESCRIPTION HERE </string> </config-file>