-
Notifications
You must be signed in to change notification settings - Fork 150
/
plugin.xml
90 lines (78 loc) · 3.88 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-admob"
version="3.2.5">
<name>Cordova-Phonegap AdMob Plugin</name>
<description>The FASTEST and EASIEST TO USE Cordova Admob plugin for Android, iOS and Windows phone. Pure OpenSource. Allows preloading and automatic loading of interstitials and banners plus more. Works with Cordova, Phonegap, Intel XDK/Crosswalk, Ionic, Meteor and more.</description>
<author>Raymond Xie</author>
<license>MIT</license>
<keywords>admob, google, cordova-ios, cordova-android, ecosystem:cordova, android, ios, windows, money, monetization, iad, services, play, win, earn, publicity, advertisment, advertising, ads, ad, eclipse, android studio, cordova-admob, admobpro</keywords>
<repo>https://github.com/floatinghotpot/cordova-plugin-admob.git</repo>
<issue>https://github.com/floatinghotpot/cordova-plugin-admob/issues</issue>
<engines>
<engine name="cordova" version=">=3.0" />
</engines>
<js-module src="www/AdMob.js" name="AdMob">
<clobbers target="window.plugins.AdMob" />
</js-module>
<dependency id="cordova-admobsdk" version="1.0.4" />
<!-- android -->
<!-- android, now build with gradle instead of ant -->
<platform name="android">
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
android:name="com.google.android.gms.ads.AdActivity"
android:theme="@android:style/Theme.Translucent" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="AdMob">
<param name="android-package" value="com.rjfun.cordova.plugin.AdMob"/>
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/android/AdMob.java" target-dir="src/com/rjfun/cordova/plugin" />
<!-- cordova CLI using gradle and it's working well
<framework src="com.google.android.gms:play-services-ads:+" /> -->
<!-- but unfortunately, build.phonegap.com, Intel XDK, and some other tools still use ant -->
<!-- dependency id="cordova-plugin-googleplayservices"/ -->
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<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 target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
<Capability Name="ID_CAP_LOCATION" />
</config-file>
<config-file target="config.xml" parent="/*">
<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 target="Properties/WMAppManifest.xml" parent="/Deployment/App/Capabilities">
<Capability Name="ID_CAP_LOCATION" />
</config-file>
<config-file target="config.xml" parent="/*">
<feature name="AdMob">
<param name="wp-package" value="AdMob"/>
</feature>
</config-file>
<source-file src="src/wp8/AdMob.cs" />
</platform>
</plugin>