You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
I've tested the sample here on a Pixel 2, 3 and 4, all of them with Android 10.
On those devices with Android 10, once connected, any call to device.transferIn or device.transferOut causes the transfer to fail with DOMException: The transfer was cancelled.
Removing the call to selectAlternateInterfacehere does seem to fix the issue.
I don't have great knowledge on the USB protocol, so would like to check before making a Pull Request to remove that call, as my guess is that it's probably there for a reason.
I have tested the code after removing that link on Android 9 + Nexus6P, and things seem to continue working as expected.
The text was updated successfully, but these errors were encountered:
MrArtemSid
added a commit
to MrArtemSid/IP_Project
that referenced
this issue
Apr 8, 2023
According to webadb/webadb.js#11
Tested and confirmed working on:
- Xiaomi Poco F1 (Lineage OS 20, Android 13)
- Xiaomi Redmi 4X (Lineage OS 20, Android 13)
- Huawei Honor 9X (Stock, Android 10)
MrArtemSid
added a commit
to MrArtemSid/IP_Project
that referenced
this issue
Apr 8, 2023
According to webadb/webadb.js#11
Tested and confirmed working on:
- Xiaomi Poco F1 (Lineage OS 20, Android 13)
- Xiaomi Redmi 4X (Lineage OS 20, Android 13)
- Huawei Honor 9X (Stock, Android 10)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I've tested the sample here on a Pixel 2, 3 and 4, all of them with Android 10.
On those devices with Android 10, once connected, any call to
device.transferIn
ordevice.transferOut
causes the transfer to fail withDOMException: The transfer was cancelled.
Removing the call to
selectAlternateInterface
here does seem to fix the issue.I don't have great knowledge on the USB protocol, so would like to check before making a Pull Request to remove that call, as my guess is that it's probably there for a reason.
I have tested the code after removing that link on Android 9 + Nexus6P, and things seem to continue working as expected.
The text was updated successfully, but these errors were encountered: