huedawn-plugin-admob-free
Version:
Robust, reliable and easy to use Cordova Admob plugin for Android, iOS and Windows phone. Allows preloading and automatic loading of interstitials and banners plus more.
87 lines (79 loc) • 3.84 kB
text/xml
<plugin xmlns:android="http://schemas.android.com/apk/res/android" id="huedawn-plugin-admob-free"
version="0.4.39" xmlns="http://apache.org/cordova/ns/plugins/1.0">
<name>Huedawn AdMob Plugin</name>
<description>Robust, reliable and easy to use Cordova Admob plugin for Android, iOS and Windows
phone. Allows preloading and automatic loading of interstitials and banners plus more.
</description>
<author>Ratson</author>
<license>MIT</license>
<keywords>admob, google, cordova-ios, cordova-android, android, ios, windows,
money, monetization, iad, services, play, win, earn, publicity, advertisment, advertising,
ads, ad, eclipse, android studio
</keywords>
<repo>https://rona_dinihari@bitbucket.org/rona_dinihari/cordova-plugin-admob-free.git</repo>
<issue>https://bitbucket.org/rona_dinihari/cordova-plugin-admob-free/issues</issue>
<engines>
<engine name="cordova" version=">=4.0" />
</engines>
<js-module name="AdMob" src="www/AdMob.js">
<clobbers target="AdMob" />
<clobbers target="plugins.AdMob" />
</js-module>
<dependency id="cordova-admob-sdk" version="~0.3.0" />
<!-- android -->
<platform name="android">
<config-file parent="/manifest/application" target="AndroidManifest.xml">
<activity android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:theme="@android:style/Theme.Translucent" />
</config-file>
<config-file parent="/*" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</config-file>
<config-file parent="/*" target="res/xml/config.xml">
<feature name="AdMob">
<param name="android-package" value="me.huedawn.cordova.admob.AdMob" />
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/android/AdMob.java" target-dir="src/me/huedawn/cordova/admob" />
<source-file src="src/android/AdMobConfig.java" target-dir="src/me/huedawn/cordova/admob" />
<source-file src="src/android/CordovaEventBuilder.java" target-dir="src/me/huedawn/cordova/admob" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="AdMob">
<param name="ios-package" value="CDVAdMob" />
</feature>
</config-file>
<header-file src="src/ios/CDVAdMob.h" />
<source-file src="src/ios/CDVAdMob.m" />
</platform>
<!-- Windows Phone 8 -->
<platform name="wp8">
<config-file parent="/Deployment/App/Capabilities" target="Properties/WMAppManifest.xml">
<Capability Name="ID_CAP_LOCATION" />
</config-file>
<config-file parent="/*" target="config.xml">
<feature name="AdMob">
<param name="wp-package" value="AdMob" />
</feature>
</config-file>
<source-file src="src/wp8/AdMob.cs" />
</platform>
<!-- Windows Phone 8.1+ -->
<platform name="windows">
<config-file parent="/Deployment/App/Capabilities" target="Properties/WMAppManifest.xml">
<Capability Name="ID_CAP_LOCATION" />
</config-file>
<config-file parent="/*" target="config.xml">
<feature name="AdMob">
<param name="wp-package" value="AdMob" />
</feature>
</config-file>
<source-file src="src/wp8/AdMob.cs" />
</platform>
</plugin>