Is there a api call in easyble.js to check if bluetooth is enabled in phone settings?
And if it is not enabled can you enabled it by an addional call?
How to detect if bluetooth is enabled in phone?
Re: How to detect if bluetooth is enabled in phone?
Normally, if Bluetooth is turned off and you call a Bluetooth function, the user gets asked to turn Bluetooth on. We have reports that, on iOS, this sometimes doesn't happen. We're looking into the issue.
Re: How to detect if bluetooth is enabled in phone?
I am running on Ios and I do not get any notification.
But if the expected behaviour is to get a popup I will have to wait for this fix.
I found that there was some other methods in the cordova plugin: https://github.com/don/BluetoothSerial
bluetoothSerial.isEnabled
I was thinking if there were something similar?
But if the expected behaviour is to get a popup I will have to wait for this fix.
I found that there was some other methods in the cordova plugin: https://github.com/don/BluetoothSerial
bluetoothSerial.isEnabled
I was thinking if there were something similar?
Re: How to detect if bluetooth is enabled in phone?
Well, we do include BluetoothSerial in our Evothings Client. You could use that.
Re: How to detect if bluetooth is enabled in phone?
Reading on the page http://evothings.com/doc/studio/mobile-app.html
It seems like that plugin is only included in Android version.
Is there an instruction on how to add plugins to MacOs/Ios version?
It seems like that plugin is only included in Android version.
Is there an instruction on how to add plugins to MacOs/Ios version?
Re: How to detect if bluetooth is enabled in phone?
Cordova plugins are added the same way on every platform, but iOS, unfortunately, does not support Classic Bluetooth for apps at all.
Return to “Questions and answers”
Who is online
Users browsing this forum: No registered users and 48 guests