Admob + Phonegap Error

  • Hi, I'm trying to compile with phonegap but I always get an error using Admob. Does anyone know a good configuration for config.php?

    Thanks!!

    <?xml version="1.0" encoding="UTF-8"?>

    <widget id="xxxxxxxx" version="1.4" android-versionCode="1040000" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:android="http://schemas.android.com/apk/res/android">

    <name>xxxxxxx</name>

    <description>xxxxxxx</description>

    <author email="xxxx" href="xxxx">xxx/author>

    <allow-intent href="http://*/*" />

    <allow-intent href="https://*/*" />

    <allow-navigation href="blob:*" />

    <icon src="www/icons/icon-256.png" width="256" height="256" density="xxxhdpi" />

    <icon src="www/icons/icon-128.png" width="128" height="128" density="xhdpi" />

    <icon src="www/icons/icon-114.png" width="114" height="114" />

    <icon src="www/icons/icon-32.png" width="32" height="32" />

    <icon src="www/icons/icon-16.png" width="16" height="16" />

    <plugin name="construct-mobile-advert" spec="1.3.6" />

    <plugin name="cordova-plugin-inappbrowser" />

    <plugin name="cordova-plugin-whitelist" />

    <preference name="orientation" value="portrait" />

    <preference name="fullscreen" value="false" />

    <preference name="DisallowOverscroll" value="true" />

    <preference name="LoadUrlTimeoutValue" value="120000" />

    <preference name="phonegap-version" value="cli-8.0.0" />

    <access origin="*" />

    <engine name="android" />

    <platform name="android">

    <preference name="android-minSdkVersion" value="21" />

    <preference name="android-targetSdkVersion" value="28" />

    <splash src="www/icons/default@2x~universal~anyany.png" />

    </platform>

    </widget>

    Tagged:

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I tried exporting through Phonegap for the first time last week and gave up not long after as I kept getting an error mentioning Mobile Advert as the culprit.

    I just went back to using xcode.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)