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

instant.io does not work on Android #389

Open
jeremyckahn opened this issue Dec 22, 2022 · 1 comment
Open

instant.io does not work on Android #389

jeremyckahn opened this issue Dec 22, 2022 · 1 comment

Comments

@jeremyckahn
Copy link

What version of this package are you using?

The version that is hosted at https://instant.io/, which appears to be 1.0.0.

What operating system, Node.js, and npm version?

OS: Ubuntu 22.04/Android 13 (emulated via Android Studio)

What happened?

Android (Chrome) cannot download files offered by another device (Ubuntu running Firefox, in my case).

What did you expect to happen?

For Android to be able to download the shared file successfully.

Are you willing to submit a pull request to fix this bug?

If I can get to the bottom of the issue, sure! I've spent a good amount of time trying debug this but have been unsuccessful so far, though.


This seems to be a WebTorrent bug that is manifesting in instant.io. I first discovered this issue in jeremyckahn/chitchatter#82, a separate project that uses WebTorrent to transfer files in a very similar way. Both instant.io and Chitchatter fail to transfer files to and from Android devices, and WebTorrent is the common factor between the two of them.

It seems that under Android, a Wire object is never being created, as the 'new wire' debug message is never getting logged.

@jeremyckahn
Copy link
Author

It seems that this may be happening in the Android simulator because there are no STUN/TURN servers configured. I don’t have an Android device available to test this issue with.

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

No branches or pull requests

1 participant