Detect if bluetooth is off and enable it
Detect if bluetooth is off and enable it
How do you detect if the bluetooth is off on the device then prompt the user to enable it on app launch in phonegap?
Re: Detect if bluetooth is off and enable it
Hi, the Bluetooth plugin will automatically ask the user to turn Bluetooth on if it is off.
There is however no function for detecting if Bluetooth is on, or for turning it on/off.
Created an issue for adding this functionality: https://github.com/evothings/cordova-ble/issues/86
Many thanks for the suggestion! Let me know if there is something else you feel should be added/supported.
Best regards, Mikael
There is however no function for detecting if Bluetooth is on, or for turning it on/off.
Created an issue for adding this functionality: https://github.com/evothings/cordova-ble/issues/86
Many thanks for the suggestion! Let me know if there is something else you feel should be added/supported.
Best regards, Mikael
Return to “Questions and answers”
Who is online
Users browsing this forum: No registered users and 1 guest