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
Android Issues #7
Comments
Its not working on Android and Im getting an error as -- Unknown named module: 'xmlhttprequest-ssl' -- |
If anyone having this issue yet, I've found a simple fix here: https://stackoverflow.com/a/41400394 Just change line 3 of client\index.js to: import SocketIOClient from 'socket.io-client/dist/socket.io.js'; |
The same problem. Not working in android, but working in ios. |
@Arpitrf Can you elaborate more? |
@rhuantac works for me, |
I just tried the repo. It is working fine on iOS but on Android, I am not receiving anything. I cannot debug remotely too. I tried adding these lines in the constructor but nothing come out too.
Can you please try the repo on Android and see if it is working? or do you have any idea where it could be wrong in our settings? Thanks! |
I managed to work for Android too. For android, we cannot use 127.0.0.1 or localhost. Need to specify the server machine's IP address. Thanks! :D sorry for wrong flag! |
This example is working fine but when I tried to use the client code in another project I am receiving this warning: React Native Environment Info: Package.json file: I am not able to debug the code also. please help me. |
@Aung-Myint-Thein so how did you do it. Please share code snippets or example. |
Hey, Any luck anyone ? |
Hi, this example still not work on Android phone! I tried on 2 physical devices:
This is what I got in my package.json: When I run the npm run android command the application starts correctly on the device, but when I try to send message I receive this error: I added a listener on the 'connect_error' event in client/index.js file : after some minutes since the start of the application I see the log: Any suggestions ? Thanks |
Did anyone resolved the issue for android? |
bump |
@priya0607jain @ronastlelobo @filipef101 If you don't know how to check your IP |
Still not working for Android. can someone suggest something which can work on both platform? |
Did anyone find the android fix not able to connect to server from client |
Hi,
This example is working fine in iOS but in android it is not at all working .
How Can I solve this?
Please help me in solving this
The text was updated successfully, but these errors were encountered: