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
{{ message }}
This repository has been archived by the owner on May 18, 2021. It is now read-only.
I have installed this plugin using:
cordova plugin add org.chromium.bluetooth
Then I implemented the code following code in my index.html within the script tag.
function init() {
$("#btn-bt-discover").click(function(){
chrome.bluetooth.onDeviceAdded.addListener(function(device){
console.log(device)
})
Are you running the app through the App Development Tool? If so try running the app normally outside of the development tool.
i.e cca run android --device or --emulator
Look in your adb log to see the stacktrace.
In my case I have the stack with startDiscovery method, that do noting in the js apis bacause it in error before.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have installed this plugin using:
cordova plugin add org.chromium.bluetooth
Then I implemented the code following code in my index.html within the script tag.
function init() {
$("#btn-bt-discover").click(function(){
chrome.bluetooth.onDeviceAdded.addListener(function(device){
console.log(device)
})
When I click on the "btn-bt-discover" button nothing happens. I am not able to see anything on chrome console log either.
The text was updated successfully, but these errors were encountered: