unity3d - Revmob Unity : Banner ads not clickable -
i developing game required show revmob banner ads.
i can show banner ads, can't not click on it. it's media id testing mode.
my code below.
private revmob rev mob; void awake() { revmob = revmob.start(revmob_app_ids, "revmob"); } void start() { revmob.createbanner(revmob.position.bottom); revmob.showbanner(revmob.position.bottom); }
please me.
try adding following line in androidmanifest.xml file within activity tags unityplayernativeactivity
<meta-data android:name="unityplayer.forwardnativeeventstodalvik" android:value="true" />
example
<application android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="false" android:largeheap="true"> <activity android:name="com.unity3d.player.unityplayernativeactivity" android:label="@string/app_name" android:screenorientation="portrait" android:launchmode="singletask" android:configchanges="mcc|mnc|locale|touchscreen|keyboard|keyboardhidden|navigation|orientation|screenlayout|uimode|screensize|smallestscreensize|fontscale"> <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> <meta-data android:name="unityplayer.unityactivity" android:value="true" /> <meta-data android:name="unityplayer.forwardnativeeventstodalvik" android:value="true" /> </activity>
Comments
Post a Comment