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

chrome & bluetooth #1

Open
eissa opened this issue Oct 26, 2016 · 2 comments
Open

chrome & bluetooth #1

eissa opened this issue Oct 26, 2016 · 2 comments

Comments

@eissa
Copy link
Contributor

eissa commented Oct 26, 2016

When close webapp after using bluetooth, chrome becomes unstable and have to force stop. Only occurs on chrome 54 for android. Do not observe this behavior in chrome 53 for mobile or chrome 54 for desktop.

@eissa
Copy link
Contributor Author

eissa commented Oct 26, 2016

Manually disconnecting device.gatt.disconnect() resolves problem. Tried to include this bluetooth disconnect in window.onbeforeunload or window.onunload callback but callback would not fire on chrome mobile even though it works on chrome desktop.

@eissa
Copy link
Contributor Author

eissa commented Oct 26, 2016

Tried html code from this discussion and did not seem to work on mobile (worked on desktop).

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