-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
50 lines (39 loc) · 1.92 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
<?xml version="1.0" encoding="UTF-8" ?>
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0" id="se.frostyelk.cordova.amazon.ads" version="0.0.1">
<name>Cordova Amazon Ads</name>
<description>Cordova plugin for Amazon Ads. Supports Interstitial Ads</description>
<author>Arne Sikstrom</author>
<license>Apache License, Version 2.0</license>
<keywords>ad,amazon</keywords>
<repo>https://github.com/FrostyElk</repo>
<issue>https://github.com/FrostyElk</issue>
<engines>
<engine name="cordova" version=">=3.3.0" />
</engines>
<js-module src="www/AmazonAds.js" name="AmazonAds">
<clobbers target="AmazonAds" />
</js-module>
<platform name="android">
<source-file src="libs/amazon-ads-5.4.78.jar" target-dir="libs" />
<!-- <dependency id="se.frostyelk.cordova.plugin.amazonsdk" version=">=0.0.1"/>-->
<config-file target="res/xml/config.xml" parent="/*">
<feature name="AmazonAds">
<param name="android-package" value="se.frostyelk.cordova.amazon.ads.AmazonAds" />
</feature>
</config-file>
<!-- se.frostyelk.cordova.plugin.amasonads-->
<config-file target="AndroidManifest.xml" parent="application">
<activity android:name="com.amazon.device.ads.AdActivity" android:configChanges="keyboardHidden|orientation|screenSize" />
</config-file>
<source-file src="src/android/se/frostyelk/cordova/amazon/ads/AmazonAds.java" target-dir="src/se/frostyelk/cordova/amazon/ads" />
<config-file target="AndroidManifest.xml" parent="/*">
<!-- Mandatory permissions -->
<uses-permission android:name="android.permission.INTERNET" />
<!-- Additional permissions recommended by Amazon -->
<uses-permission android:name="android.permission.FINE_LOCATION" />
<uses-permission android:name="android.permission.COURSE_LOCATION" />
<uses-permission android:name="android.permission.NETWORK_STATE" />
<uses-permission android:name="android.permission.WIFI_STATE" />
</config-file>
</platform>
</plugin>