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 on Android support via Web USB #56

Open
2 tasks
stylesuxx opened this issue Mar 23, 2021 · 1 comment
Open
2 tasks

Chrome on Android support via Web USB #56

stylesuxx opened this issue Mar 23, 2021 · 1 comment
Labels

Comments

@stylesuxx
Copy link
Owner

stylesuxx commented Mar 23, 2021

There is a polyfill by google for Web Serial via Web USB. this should allow to make the whole application work on mobile devices. at least on Android based ones.

  • Swap custom version of polyfill to the official one, once reviewed and fixed
  • Chromium fixed issue with claiming of devices

Devices confirmed to not work due to the Chromium issue:

  • Samsung S6, Android 8
  • Samsung Note 8, Android 9
  • Moto G5 (custom ROM)
@stylesuxx stylesuxx added the enhancement New feature or request label Mar 23, 2021
@stylesuxx
Copy link
Owner Author

This solution is good, but yields some problems:

  1. The polyfill is not yet complete getInfo() needs to be merged and the callbacks need to be properly implemented. For now I am using my own fork which seems to be good enough
  2. This is the bigger issue - there seems to be a problem with some Android devices were the Kernel might claim the device and Chrome for Android will not force claim it - resulting in the device being basically un-usable. This is bad, because it can't really be detected, the user has to try it to find out that it does not work.

Problem Nr. 2 exists on 1 of the 5 tested devices. For now we should not advertise this feature but rather collect as much data as possible to see on how many devices it actually breaks and if there might even be a solution.

stylesuxx added a commit that referenced this issue Mar 24, 2021
…e. This is in order to support Chrome on Android. #56
stylesuxx added a commit that referenced this issue Mar 24, 2021
…e. This is in order to support Chrome on Android. #56
@stylesuxx stylesuxx added this to the version 1.0.0 milestone Mar 25, 2021
@stylesuxx stylesuxx changed the title Android support via Web USB Chrome on Android support via Web USB Mar 26, 2021
@stylesuxx stylesuxx removed this from the version 1.0.0 milestone Apr 8, 2021
negre pushed a commit to gipsa-lab-uav/esc-configurator that referenced this issue Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant