react-native-system-setting icon indicating copy to clipboard operation
react-native-system-setting copied to clipboard

Missing permissions required by BluetoothAdapter.disable: android.permission.BLUETOOTH_CONNECT [MissingPermission]

Open LauraKlipfel opened this issue 2 years ago • 1 comments

Hello,

When I run the ./gradlew build command I get the following error:

Error: Missing permissions required by BluetoothAdapter.disable: android.permission.BLUETOOTH_CONNECT [MissingPermission] bluetoothAdapter.disable(); ~~~~~~~~~~~~~~~~~~~~~~~~~~

For the command to succeed I add : @SuppressLint("MissingPermission")

Would it be possible to have the permissions check or the suppressLint in the next release?

Thanks a lot

LauraKlipfel avatar Jan 05 '24 08:01 LauraKlipfel

hello I have the same problem How did you fix it? In react native 0.74 Kotlin version where to add this line? @SuppressLint("MissingPermission")

Zarinia avatar Sep 02 '24 09:09 Zarinia