-
Notifications
You must be signed in to change notification settings - Fork 43
/
plugin.xml
72 lines (63 loc) · 3.12 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
<?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.plugin.AdMobPlugin"
version="0.0.2">
<name>AdMobPlugin</name>
<description>Google AdMob Plugin</description>
<license>MIT</license>
<engines>
<engine name="cordova" version=">=2.9.0" />
</engines>
<!---->
<js-module src="www/AdMobPlugin.js" name="AdMob">
<clobbers target="window.admob"/>
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="AdMobPlugin" >
<param name="android-package" value="com.google.cordova.plugin.AdMobPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.google.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</config-file>
<source-file src="src/android/libs/GoogleAdMobAdsSdk-6.4.1.jar" target-dir="libs/"/>
<source-file src="src/android/com/google/cordova/plugin/AdMobPlugin.java" target-dir="src/com/google/cordova/plugin"/>
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="AdMobPlugin">
<param name="ios-package" value="AdMobPlugin" />
</feature>
</config-file>
<header-file src="src/ios/AdMobPlugin.h" />
<source-file src="src/ios/AdMobPlugin.m" />
<!-- Google AdMob header files -->
<header-file src="src/ios/GADAdMobExtras.h" />
<header-file src="src/ios/GADAdNetworkExtras.h" />
<header-file src="src/ios/GADAdSize.h" />
<header-file src="src/ios/GADBannerView.h" />
<header-file src="src/ios/GADBannerViewDelegate.h" />
<header-file src="src/ios/GADInterstitial.h" />
<header-file src="src/ios/GADInterstitialDelegate.h" />
<header-file src="src/ios/GADRequest.h" />
<header-file src="src/ios/GADRequestError.h" />
<!-- Google AdMob 6.5.1 framework -->
<source-file src="src/ios/libGoogleAdMobAds.a" framework="true" />
<!-- iOS development frameworks need by Google AdMob 6.5.1 framework -->
<framework src="StoreKit.framework" />
<framework src="AudioToolbox.framework" />
<framework src="MessageUI.framework" />
<framework src="SystemConfiguration.framework" />
<framework src="CoreGraphics.framework" />
<framework src="AdSupport.framework" />
</platform>
</plugin>