Preference vanishes from config.xml file


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?


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


Yes… It resets my config.xml


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