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

[DO NOT MERGE] Remove usb visibilityChangeListener #40

Closed
wants to merge 2 commits into from

Conversation

microbit-grace
Copy link
Contributor

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

Experimentation: Removing visibilityChangeListener

What I have learnt

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

cache: npm
- uses: microbit-foundation/npm-package-versioner-action@v1
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- 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.

1 participant