caiobiodere / cordova-template-framework7-vue-webpack

Framework7 - Vue - Webpack Cordova Template with Webpack Dev Server and Hot Module Replacement
Apache License 2.0
621 stars 154 forks source link

Can't connect to livereload from android device #183

Open jeremywarne opened 4 years ago

jeremywarne commented 4 years ago

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 commented 3 years ago

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 commented 2 years ago

Same problem here