bluetoothSerial is not defined after changing page
spilz87 opened this issue ยท 0 comments
spilz87 commented
Hi everyone
A "bluetoothSerial is not defined" issue again
I already read the other topics bit it seems my issue is different and it can come from something I did wrong or miss understand.
On Cordova, after installing plugin, in compile ok.
In index.html (home page) I wait device is ready and everything is working well, I can read the list of devices, connect to the device I want to and write to and read from the device.
So that is ok
But then if I go to another page, let say index2.html, I got the error "bluetoothSerial is not defined"
What I have to add in other pages to be able to use it ?
Do you have any idea of the origin of this issue ?
What did I do wrong ?
Thanks in advance for your help