You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This Android documentation specifies that apps can add android:usesPermissionFlags="neverForLocation" to the android.permission.BLUETOOTH_SCAN permission in AndroidManifest.xml. However, when I manually add this to my config.xml:
...I receive an error during the build that complains about a duplicate permission:
Error:
Element uses-permission#android.permission.BLUETOOTH_SCAN at AndroidManifest.xml:63:5-73 duplicated with element declared at AndroidManifest.xml:62:5-120
This seems to happen because the plugin adds the BLUETOOTH_SCAN permission without android:usesPermissionFlags, conflicting with my <uses-permission> that has it:
Is there any way to configure this plugin to include android:usesPermissionFlags="neverForLocation" or otherwise not include thi permission automatically?
The text was updated successfully, but these errors were encountered:
This Android documentation specifies that apps can add
android:usesPermissionFlags="neverForLocation"
to theandroid.permission.BLUETOOTH_SCAN
permission inAndroidManifest.xml
. However, when I manually add this to myconfig.xml
:...I receive an error during the build that complains about a duplicate permission:
This seems to happen because the plugin adds the
BLUETOOTH_SCAN
permission withoutandroid:usesPermissionFlags
, conflicting with my<uses-permission>
that has it:cordova-plugin-bluetoothle/plugin.xml
Line 27 in 568c07d
Is there any way to configure this plugin to include
android:usesPermissionFlags="neverForLocation"
or otherwise not include thi permission automatically?The text was updated successfully, but these errors were encountered: