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
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" />
The text was updated successfully, but these errors were encountered:
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" />
The text was updated successfully, but these errors were encountered: