require("globals");
var bluetooth = require("nativescript-bluetooth");
global.onmessage = function (msg) {
if (msg.data == "START") {
bluetooth.startScanning({
//.....properies & call back goes here
});
}
}
how can i use nativescript-bluetooth with Workers ?
hello,
how can i use nativescript-bluetooth with Workers ?