Manifest Requirements

Starting from Version 4.0 Google Mobile Ad plugin will make modifications to the AndroidManifes automatically.

 

When GAD is modifying manifest? 

  • When GAD editor window is opened (if plugin is installed and up to date)
  • After plugin installation / update

 

How to disable auto manifest managing?

You can disable it by unchecking Keep Android Manifest Clean option. 

 

What should be added to the application manifest so that GAD can work correctly?

<manifest>
.....

<application>
.....
<activity>  //lauchner activity
 <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
</activity>

<activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
.....
</application>


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

.....
</manifest>