Skip to content

Conversation

@microbit-grace
Copy link
Contributor

@microbit-grace microbit-grace commented Nov 8, 2024

Experimentation: Removing visibilityChangeListener

What I have learnt

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Nov 8, 2024

Preview Url won't work for WebUSB with radio bridge connection because you need to hardcode the remote device id

Deploying microbit-connection with  Cloudflare Pages  Cloudflare Pages

Latest commit: d22d72f
Status: ✅  Deploy successful!
Preview URL: https://7871f66d.microbit-connection.pages.dev
Branch Preview URL: https://tab-change.microbit-connection.pages.dev

View logs

- run: npm run ci
- run: npm publish
if: github.event_name == 'release' && github.event.action == 'created'
# if: github.event_name == 'release' && github.event.action == 'created'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uncomment this line if merging

@microbit-grace microbit-grace changed the title [DO NOT MERGE] Experimenting with usb visibilityChangeListener [DO NOT MERGE] Remove usb visibilityChangeListener Nov 8, 2024
@microbit-grace
Copy link
Contributor Author

No longer needed. visibilityChangeListener is needed since beforeUnloadListener may not run the async process reliably

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

Successfully merging this pull request may close these issues.

2 participants