- From: Reilly Grant via GitHub <sysbot+gh@w3.org>
- Date: Mon, 10 Jan 2022 22:59:36 +0000
- To: public-web-bluetooth-log@w3.org
Using the API from a `Worker` doesn't solve these problems because dedicated workers are still restarted when the page is navigated or refreshed. The first half of the fix for these issues is the `getDevices()` API which will allow you to reconnect to the device when the page is reloaded, even if the browser has been completely closed. Maintaining a Bluetooth connection (not re-establishing it) across a navigation will require additional work, probably involving [Portals](https://github.com/WICG/portals) or `SharedWorker`. -- GitHub Notification of comment by reillyeon Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/571#issuecomment-1009429002 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 10 January 2022 22:59:38 UTC