Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bluetoothSerial is not defined after changing page #444

Open
spilz87 opened this issue Jul 16, 2021 · 0 comments
Open

bluetoothSerial is not defined after changing page #444

spilz87 opened this issue Jul 16, 2021 · 0 comments

Comments

@spilz87
Copy link

spilz87 commented Jul 16, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant