Set android:windowSoftInputMode automatically

Hello everyone,
In my project, I want to use the “adjustPan” keyboard for Android so I have to manually change the AndroidManifest.xml.
But, the problem, is that we are 6 on the project and we have to change it manually everytime we checkout the project, after to add android platform.
Is there a way that when I had the platform (or npm install) that it changes the AndroidManifest.xml ?

I tryed inside the tag inside in my config.xml but didn’t work :confused:

Working on it now. Would also like to know this.

Found a solution.

In config.xml:
Make sure widget has this property:


<widget xmlns:android="">

//Then add this inside
<edit-config file="AndroidManifest.xml" mode="merge" target="/manifest/application/activity[@android:name='MainActivity']">
        <activity android:windowSoftInputMode="adjustPan" />


Then remove platform:

ionic cordova platform remove android

Then build again.