-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
132 lines (114 loc) · 6.38 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2014 Amazon.com,
Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the
"License"). You may not use this file except in compliance
with the License. A copy of the License is located at
http://aws.amazon.com/apache2.0/
or in the "license" file accompanying this file. This file is
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and
limitations under the License.
-->
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.amazon.mas.cpt.ads.AmazonMobileAdsPlugin"
version="1.0.0">
<name>AmazonMobileAds</name>
<js-module src="www/AmazonMobileAds.js" name="AmazonMobileAds">
<clobbers target="window.AmazonMobileAds" />
</js-module>
<!-- amazon-fireos -->
<platform name="amazon-fireos">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="AmazonMobileAdsPlugin" >
<param name="android-package" value="com.amazon.mas.cpt.ads.AmazonMobileAdsPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.amazon.device.ads.AdActivity" android:configChanges="keyboardHidden|orientation|screenSize"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
</config-file>
<source-file src="src/amazon/AmazonMobileAdsPlugin.java" target-dir="src/com/amazon/mas/cpt/ads" />
<source-file src="src/amazon/AmazonMobileAdsJavaControllerImpl.java" target-dir="src/com/amazon/mas/cpt/ads" />
<source-file src="libs/AmazonCptPluginsUtils-1.0.jar" target-dir="libs" />
<source-file src="libs/AmazonMobileAdsAndroidSDK3P-1.1.jar" target-dir="libs" />
<source-file src="libs/AmazonMobileAdsJavaService-1.0.jar" target-dir="libs" />
<source-file src="libs/gson-2.2.4.jar" target-dir="libs" />
</platform>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="AmazonMobileAdsPlugin" >
<param name="android-package" value="com.amazon.mas.cpt.ads.AmazonMobileAdsPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.amazon.device.ads.AdActivity" android:configChanges="keyboardHidden|orientation|screenSize"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
</config-file>
<source-file src="src/amazon/AmazonMobileAdsPlugin.java" target-dir="src/com/amazon/mas/cpt/ads" />
<source-file src="src/android/AmazonMobileAdsJavaControllerImpl.java" target-dir="src/com/amazon/mas/cpt/ads" />
<source-file src="libs/AmazonCptPluginsUtils-1.0.jar" target-dir="libs" />
<source-file src="libs/AmazonMobileAdsAndroidSDK3P-1.1.jar" target-dir="libs" />
<source-file src="libs/AmazonMobileAdsJavaService-1.0.jar" target-dir="libs" />
<source-file src="libs/gson-2.2.4.jar" target-dir="libs" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="AmazonMobileAdsPlugin">
<param name="ios-package" value="CDVAmazonMobileAds"/>
</feature>
</config-file>
<header-file src="src/ios/CDVAmazonMobileAds.h" />
<source-file src="src/ios/CDVAmazonMobileAds.m" />
<header-file src="src/ios/AMAZONAd.h" />
<header-file src="src/ios/AMAZONAdPair.h" />
<header-file src="src/ios/AMAZONAdPosition.h" />
<header-file src="src/ios/AMAZONAdShown.h" />
<header-file src="src/ios/AMAZONAmazonMobileAds.h" />
<header-file src="src/ios/AMAZONAmazonMobileAdsImpl.h" />
<header-file src="src/ios/AMAZONAmazonMobileAdsImplStub.h" />
<header-file src="src/ios/AMAZONAmazonMobileAdsJsonFromObject.h" />
<header-file src="src/ios/AMAZONAmazonMobileAdsObjectFromJson.h" />
<header-file src="src/ios/AMAZONAmazonMobileAdsObjectiveCController.h" />
<header-file src="src/ios/AMAZONAmazonMobileAdsObjectiveCControllerImpl.h" />
<header-file src="src/ios/AMAZONApplicationKey.h" />
<header-file src="src/ios/AMAZONEnums.h" />
<header-file src="src/ios/AMAZONIsEqual.h" />
<header-file src="src/ios/AMAZONIsReady.h" />
<header-file src="src/ios/AMAZONLoadingStarted.h" />
<header-file src="src/ios/AMAZONPlacement.h" />
<header-file src="src/ios/AMAZONShouldEnable.h" />
<source-file src="src/ios/AMAZONAd.m" />
<source-file src="src/ios/AMAZONAdPair.m" />
<source-file src="src/ios/AMAZONAdPosition.m" />
<source-file src="src/ios/AMAZONAdShown.m" />
<source-file src="src/ios/AMAZONAmazonMobileAdsImpl.m" />
<source-file src="src/ios/AMAZONAmazonMobileAdsImplStub.m" />
<source-file src="src/ios/AMAZONAmazonMobileAdsJsonFromObject.m" />
<source-file src="src/ios/AMAZONAmazonMobileAdsObjectFromJson.m" />
<source-file src="src/ios/AMAZONAmazonMobileAdsObjectiveCControllerImpl.m" />
<source-file src="src/ios/AMAZONApplicationKey.m" />
<source-file src="src/ios/AMAZONEnums.m" />
<source-file src="src/ios/AMAZONIsEqual.m" />
<source-file src="src/ios/AMAZONIsReady.m" />
<source-file src="src/ios/AMAZONLoadingStarted.m" />
<source-file src="src/ios/AMAZONPlacement.m" />
<source-file src="src/ios/AMAZONShouldEnable.m" />
<framework src="src/ios/AmazonAd.framework" custom="true" />
<framework src="AdSupport.framework" />
<framework src="CoreLocation.framework" />
<framework src="CoreTelephony.framework" />
<framework src="EventKit.framework" />
<framework src="EventKitUI.framework" />
<framework src="MediaPlayer.framework" />
<framework src="StoreKit.framework" />
<framework src="SystemConfiguration.framework" />
</platform>
</plugin>