Open dieg092 opened 1 year ago
Still an issue!
use library react-native-permissions https://github.com/zoontek/react-native-permissions export async function requestBluetoothPermission() { const status = await request( Platform.select({ android: PERMISSIONS.ANDROID.BLUETOOTH_CONNECT, }), ); return status; On Android 12+ You can check request Permission Bluetooth Connect after when call method getDeviceList Screen Request Permission Screen Find Device Bluetooth
Permission error appears in android v12+ devices. I think that add this permission inside AndroidManifest.xml could fix it:
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT_PRIVILEGED" />