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
BluetoothStateManager.requestToEnable()
.then(() => {
return true;
})
.catch((err) => {
showMessage({
message:
"You must to enable Bluetooth to use this function",
type: "warning",
});
return false;
});
I have this code but when I click on NO button => Crash App
The text was updated successfully, but these errors were encountered:
BluetoothStateManager.requestToEnable()
.then(() => {
return true;
})
.catch((err) => {
showMessage({
message:
"You must to enable Bluetooth to use this function",
type: "warning",
});
return false;
});
I have this code but when I click on NO button => Crash App
The text was updated successfully, but these errors were encountered: