Preference vanishes from config.xml file


#1

I am trying to set the preference KeyboardResize to false in the config.xml file.

<preference name="KeyboardResize" value="false" />

But i am facing an weird problem. When i give below command to test in my device, the preference vanishes.

ionic cordova run android -c

And UI resize does not stop when keyboard appears.

How to stop vanishing preference? Any idea?


#2

What does that mean? Does it reset your config.xml?


#3

Yes… It resets my config.xml


#4

Does the same happen when you run just cordova run android?