-
Notifications
You must be signed in to change notification settings - Fork 131
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
Add example of using permission api #111
Comments
I tried this, but I got only errors
|
The error is as follows:
|
Chrome does not yet support WebUSB in the permissions API. This is tracked by Chromium issue 638721. |
Hi.. is this still not supported by chrome? I am trying to use web usb but when I call device.open it throws me "Access denied" error. any suggestions will be appreciated. Thanks |
Hi @jogshraddha, WebUSB is enabled by default on Chrome since 61. There are a couple of reasons that may be producing this error. The first is that the origin does not have permission to open the USB device. This can happen on Android if the device has revoked access to the USB device. The second reason is that Chrome failed to grab the device handle. If you are still unable to open the device, please file a bug report at https://crbug.com/ with details on how to reproduce the issue. I hope that this helps. |
No description provided.
The text was updated successfully, but these errors were encountered: