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

Polyfill web serial on Android #514

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Polyfill web serial on Android #514

wants to merge 2 commits into from

Conversation

balloob
Copy link
Member

@balloob balloob commented Jun 3, 2024

This should make ESP Web Tools work on Android. Not tested yet.

Via espressif/esptool-js#144

@Kreedb
Copy link

Kreedb commented Aug 26, 2024

You can simply import 'web serial polyfill' into your own project and implement 'navigator. serial' instead of modifying the source code to make it bloated

@balloob
Copy link
Member Author

balloob commented Aug 26, 2024

Bloated? You must have missed the use of the dynamic import. It's not loaded when a user doesn't need it.

@Kreedb
Copy link

Kreedb commented Aug 26, 2024

What I mean is that compatibility with Android doesn't actually require 'esp-web-tools' to achieve it. We can use'web-serial-polyfill'to improve'navigator.serial '

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