c# - Inmobi Interstitial didn't close -
i'm using inmobi unity plugin ad facing 1 problem after show "interstitial" using function inmobiandroid.showinterstitial()
i'm not able close press many times on close button ad not close do?
if((string.compare(inmobiandroid.getinterstitialstate(), "ready") == 0 || string.compare(inmobiandroid.getinterstitialstate(),"ready") == 0)&& !loadad) { inmobiandroid.showinterstitial(); loadad = true; }
update android manifest file
add
<meta-data android:name="unityplayer.forwardnativeeventstodalvik" android:value="true" />
in
<activity android:name="com.unity3d.player.unityplayeractivity" android:label="@string/app_name" android:configchanges="fontscale|keyboard|keyboardhidden|locale|mnc|mcc|navigation|orientation|screenlayout|screensize|smallestscreensize|uimode|touchscreen">
Comments
Post a Comment