Closed mirkonasato closed 8 years ago
Comparing the config.xml
from cordova create
vs ionic start
it looks like our default could use an update to be more whitelist friendly. Probably related to https://github.com/driftyco/ionic-cli/issues/725, but either way I've opened an issue to take a look into it: https://github.com/driftyco/ionic-cli/issues/811
I just changed the property of my project's root folder by unchecking the 'Read Only' option. Then run ionic serve again. Live reload is now working.
<allow-intent href="*"/>
<allow-navigation href="*"/>
ionic platform rm ios
ionic platform add ios
ionic build ios
ionic emulate ios -l
After reading and trying all solutions, @jlno 's first step solved it for me:
- Add into config.xml:
<allow-intent href="*"/>
<allow-navigation href="*"/>
Use ionic cordova run --livereload ios
See http://forum.ionicframework.com/t/live-reload-error-failed-to-load-webpage-with-error/32831/4