Using ManifestRequirementsOverride.txt not working correctly

Hey all,

i have a little issue with the android manifest generation.
I want to strip out the internet permission cause my client doesn´t want it.
With UE 4.15.3 everything worked fine with a ManifestRequirementsOverride.txt file and the following content

<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="21" />
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />

In UE 4.18.3 i have the the problem that the engine adds

<uses-permission android:name="android.permission.INTERNET" />
 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

I already tried to modify the UEDeployAndroid.cs inside engine folder and commented out the line where the code sets the internet permission but it still add the permission.

I would be happy if anybody could give me a hint.

Thanks and best regards


EDIT

Found the reason causing this problem to me. Using AdMob was enabled and that adds InternetPermission and NetworkState even if you override the manifest.