Config.xml changes not being applied


#1

I’m trying to override some of the default preferences in config.xml below is what my root config.xml looks like.

<?xml version='1.0' encoding='utf-8'?>
<widget id="com.ionicframework.starter" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>ProtoTne</name>
<description>
    An Ionic Framework and Cordova project.
</description>
<author email="hi@ionicframework" href="http://ionicframework.com/">
  Ionic Framework Team
</author>
<content src="index.html" />
<access origin="*" />
<preference name="fullscreen" value="false" />
<preference name="webviewbounce" value="true" />
<preference name="UIWebViewBounce" value="true" />
<preference name="DisallowOverscroll" value="false" />
<preference name="AutoHideSplashScreen" value="false" />
<preference name="ViewIgnoresStatusBar" value="true" />
</widget>

My problem is that these settings do not seem to take effect. If I look at platforms/ios/ProtoTne/config.xml
I can see that they have been appended to the bottom of that document. Any idea why this isn’t working?


#2

On IOS, I sometimes have to uninstall (delete) and reinstall, for config.xml changes to take effect (e.g. on Phonegap Build, using hydration) (neither of which you said you are using, but you didn’t not say it either!)