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

Can't connect to livereload from android device #183

Open
jeremywarne opened this issue Mar 18, 2020 · 2 comments
Open

Can't connect to livereload from android device #183

jeremywarne opened this issue Mar 18, 2020 · 2 comments

Comments

@jeremywarne
Copy link

My laptop and phone are both on the same wifi network. When I run cordova run android -- --lr the phone tries to connect to 192.168.1.18:8081 (laptop's IP), but fails to connect. I can connect to this URL in the phone's browser and correctly get a bunch of JS alerts.

I'm wondering if somehow the app isn't getting its <allow-navigation href="*"/> entitlement correctly...? I've tried adding that into config.xml manually in a few different ways, but no luck.

Any help greatly appreciated!

@demchenkodenis
Copy link

My laptop and phone are both on the same wifi network. When I run cordova run android -- --lr the phone tries to connect to 192.168.1.18:8081 (laptop's IP), but fails to connect. I can connect to this URL in the phone's browser and correctly get a bunch of JS alerts.

I'm wondering if somehow the app isn't getting its <allow-navigation href="*"/> entitlement correctly...? I've tried adding that into config.xml manually in a few different ways, but no luck.

Any help greatly appreciated!

Did you found a solution?

@danielsaps
Copy link

Same problem here

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

3 participants