IOS parameter in custom config plugin
jptheripper last edited by
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
NSBluetoothPeripheralUsageDescription = BLE connection for Android
and other ways of typing it, but nothing seems to stick.
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 your
config.xmlfile. Make sure to write your description with the
<config-file platform="ios" target="*-Info.plist" parent="NSBluetoothPeripheralUsageDescription"> <string> WRITE YOUR USAGE DESCRIPTION HERE </string> </config-file>