You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running ionic emulate ios --livereload ionic adds a new <allow-navigation> entry to config.xml which results in unwanted version control changes.
After some time config.xml contains a lot of things like:
🔖 2018 Update: The latest CLI still leaves multiple <allow-navigation> tags in config.xml after the Cordova run/emulate is finished. These configuration entries are only necessary during run/emulate, not after. We already are successfully changing <content src="index.html"> during run/emulate, and reverting it to what it was when the command finishes. I imagine the code for removing unnecessary <allow-navigation tags would live in the same spot.
Activity
renjithspace commentedon Jan 8, 2018
+1
imhoffd commentedon Jan 23, 2018
🔖 2018 Update: The latest CLI still leaves multiple
<allow-navigation>tags inconfig.xmlafter the Cordova run/emulate is finished. These configuration entries are only necessary during run/emulate, not after. We already are successfully changing<content src="index.html">during run/emulate, and reverting it to what it was when the command finishes. I imagine the code for removing unnecessary<allow-navigationtags would live in the same spot.