-
Notifications
You must be signed in to change notification settings - Fork 685
Closed
Description
Short description of the problem:
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:
<allow-navigation href="http://192.168.0.1:8102"/>
<allow-navigation href="http://192.168.1.10:8100"/>
Basically IP addresses of every development machine where you used livereload on iOS.
What behavior are you expecting?
No config.xml changes.
Steps to reproduce:
- Remove all
allow-navigationelements from config.xml - Execute
ionic emulate ios -l - Config is modified
Ionic info
Cordova CLI: 6.4.0
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
ios-deploy version: 1.9.0
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v7.0.0
Xcode version: Xcode 8.2.1 Build version 8C1002