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

Compatibility issues with emulators #72

Open
ocram opened this issue Mar 11, 2016 · 1 comment
Open

Compatibility issues with emulators #72

ocram opened this issue Mar 11, 2016 · 1 comment

Comments

@ocram
Copy link
Contributor

ocram commented Mar 11, 2016

Does this library work in the emulator? We had quite a few examples here already where things only worked on a real device.

What's wrong on emulators? Are there any exceptions?

What server URL to use when both the server and the emulator run locally on the development machine? Something like ws://127.0.0.1/websocket?

Some other libraries have to disable IPv6 when using the emulator. So maybe this helps:

// if (Build.PRODUCT.equals("google_sdk")) {
java.lang.System.setProperty("java.net.preferIPv6Addresses", "false");
java.lang.System.setProperty("java.net.preferIPv4Stack", "true");
// }
@ocram
Copy link
Contributor Author

ocram commented Mar 17, 2016

This issue seems to be related: #46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant