This repository has been archived by the owner on Apr 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
plugin.xml
61 lines (52 loc) · 2.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
<?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="org.onepf.openiab"
version="0.0.1">
<name>OpenIAB</name>
<description>Cordova OpenIAB Plugin</description>
<author>One Platform Foundation</author>
<license>Apache 2.0</license>
<keywords>cordova, billing, android, openiab, inapp</keywords>
<platform name="android">
<js-module src="www/openiab.js" name="openiab">
<clobbers target="openiab" />
</js-module>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="OpenIabCordovaPlugin">
<param name="android-package" value="org.onepf.openiab.cordova.OpenIabCordovaPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<!--all-->
<uses-permission android:name="android.permission.INTERNET"/>
<!--Google Play-->
<uses-permission android:name="com.android.vending.BILLING" />
<!--Open Store-->
<uses-permission android:name="org.onepf.openiab.permission.BILLING" />
<!--Amazon requires no permissions -->
<!--Samsung Apps-->
<uses-permission android:name="com.sec.android.iap.permission.BILLING" />
<!--Nokia-->
<uses-permission android:name="com.nokia.payment.BILLING"/>
<!--SlideME-->
<uses-permission android:name="com.slideme.sam.manager.inapp.permission.BILLING" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<receiver android:name="com.amazon.inapp.purchasing.ResponseReceiver">
<intent-filter>
<action
android:name="com.amazon.inapp.purchasing.NOTIFY"
android:permission="com.amazon.inapp.purchasing.Permission.NOTIFY"/>
</intent-filter>
</receiver>
</config-file>
<!-- It's a pity, but all source files should be listed here -->
<source-file src="android/src/OpenIabCordovaPlugin.java" target-dir="src/org/onepf/openiab/cordova" />
<source-file src="android/src/Serialization.java" target-dir="src/org/onepf/openiab/cordova" />
<!-- Libraries -->
<source-file src="android/libs/OpenIAB.jar" target-dir="libs" />
<source-file src="android/libs/in-app-purchasing-2.0.1.jar" target-dir="libs" />
<source-file src="android/libs/FortumoInApp-android-9.1.2-o.jar" target-dir="libs" />
</platform>
</plugin>