cordova-template-framework7-vue-webpack icon indicating copy to clipboard operation
cordova-template-framework7-vue-webpack copied to clipboard

Can't connect to livereload from android device

Open jeremywarne opened this issue 5 years ago • 2 comments
trafficstars

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!

jeremywarne avatar Mar 18 '20 22:03 jeremywarne

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?

demchenkodenis avatar Mar 05 '21 08:03 demchenkodenis

Same problem here

danielsaps avatar Dec 02 '21 21:12 danielsaps