forked from floatinghotpot/cordova-admob-pro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
108 lines (93 loc) · 4.68 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?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="com.google.cordova.admob"
version="2.7.0">
<name>AdMob Plugin Pro</name>
<description>Powerful Ad Plugin for Google AdMob and DFP. Easy use, show mobile Ad with single line of JavaScript. Stable and up to date with latest SDK. Compatible with Cordova CLI, PhoneGap Build, Intel XDK/Crosswalk, Google ChromeApp, IBM Worklight.</description>
<author>Liming Xie</author>
<license>MIT</license>
<keywords>rjfun,admob,google,ad</keywords>
<repo>https://github.com/floatinghotpot/cordova-admob-pro.git</repo>
<issue>https://github.com/floatinghotpot/cordova-admob-pro/issues</issue>
<engines>
<engine name="cordova" version=">=3.0" />
</engines>
<js-module src="www/AdMob.js" name="AdMob">
<clobbers target="window.AdMob" />
</js-module>
<dependency id="cordova-plugin-extension" url="https://github.com/Fafois/cordova-extension"/>
<!-- android -->
<platform name="android">
<dependency id="cordova-plugin-googleplayservices" url="https://github.com/floatinghotpot/google-play-services" commit="r19" />
<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.admob.AdMobPlugin"/>
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/android/AdMobMediation.java" target-dir="src/com/rjfun/cordova/admob" />
<source-file src="src/android/AdMobPlugin.java" target-dir="src/com/rjfun/cordova/admob" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="AdMob">
<param name="ios-package" value="CDVAdMobPlugin" />
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/CDVAdMobPlugin.h"/>
<source-file src="src/ios/CDVAdMobPlugin.m"/>
<header-file src="src/ios/AdMobMediation.h"/>
<source-file src="src/ios/AdMobMediation.m"/>
<framework src="src/ios/GoogleMobileAds.framework" custom="true" />
<framework src="AdSupport.framework" />
<framework src="AudioToolbox.framework" />
<framework src="AVFoundation.framework" />
<framework src="CoreGraphics.framework" />
<framework src="CoreTelephony.framework" />
<framework src="EventKit.framework" />
<framework src="EventKitUI.framework" />
<framework src="Foundation.framework" />
<framework src="MessageUI.framework" />
<framework src="StoreKit.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="UIKit.framework" />
</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="AdMobPlugin"/>
</feature>
</config-file>
<source-file src="src/wp8/AdMobPlugin.cs" />
<framework src="src/wp8/GoogleAds.dll" custom="true" />
</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="AdMobPlugin"/>
</feature>
</config-file>
<source-file src="src/wp8/AdMobPlugin.cs" />
<framework src="src/wp8/GoogleAds.dll" custom="true" />
</platform>
</plugin>