-
Notifications
You must be signed in to change notification settings - Fork 17
/
plugin.xml
83 lines (65 loc) · 3.37 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-wizpurchase"
version="2.2.0">
<name>WizPurchase</name>
<description>This plugin allows payments to be made on Android and iOS.</description>
<keywords>wizcorp, wizard, purchase, iap, billing</keywords>
<engines>
<engine name="cordova" version=">=3.3.0" />
</engines>
<license>MIT</license>
<js-module src="www/WizPurchase.js" name="WizPurchase">
<clobbers target="window.wizPurchase" />
</js-module>
<js-module src="www/WizPurchaseError.js" name="WizPurchaseError">
<clobbers target="window.WizPurchaseError" />
</js-module>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="WizPurchase">
<param name="ios-package" value="WizPurchase" />
<param name="onload" value="true" />
</feature>
</config-file>
<!-- Plugin files -->
<header-file src="src/ios/WizPurchase.h" />
<source-file src="src/ios/WizPurchase.m" />
<!-- Debug Logger -->
<header-file src="src/ios/WizDebugLog.h" />
<framework src="StoreKit.framework" />
</platform>
<!-- android -->
<platform name="android">
<preference name="BILLING_KEY" />
<config-file target="app/src/main/res/xml/config.xml" parent="/*">
<feature name="WizPurchase">
<param name="android-package" value="jp.wizcorp.wizpurchase.WizPurchase" />
</feature>
</config-file>
<config-file target="app/src/main/AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="com.android.vending.BILLING" />
</config-file>
<!-- Plugin Class -->
<source-file src="src/android/WizPurchase.java" target-dir="src/jp/wizcorp/wizpurchase" />
<!-- Billing Helper Classes -->
<source-file src="src/android/com/smartmobilesoftware/util/Base64.java" target-dir="src/com/smartmobilesoftware/util" />
<source-file src="src/android/com/smartmobilesoftware/util/Base64DecoderException.java" target-dir="src/com/smartmobilesoftware/util" />
<source-file src="src/android/com/smartmobilesoftware/util/IabException.java" target-dir="src/com/smartmobilesoftware/util" />
<source-file src="src/android/com/smartmobilesoftware/util/IabHelper.java" target-dir="src/com/smartmobilesoftware/util" />
<source-file src="src/android/com/smartmobilesoftware/util/IabResult.java" target-dir="src/com/smartmobilesoftware/util" />
<source-file src="src/android/com/smartmobilesoftware/util/Inventory.java" target-dir="src/com/smartmobilesoftware/util" />
<source-file src="src/android/com/smartmobilesoftware/util/Purchase.java" target-dir="src/com/smartmobilesoftware/util" />
<source-file src="src/android/com/smartmobilesoftware/util/Security.java" target-dir="src/com/smartmobilesoftware/util" />
<source-file src="src/android/com/smartmobilesoftware/util/SkuDetails.java" target-dir="src/com/smartmobilesoftware/util" />
<!-- Billing Classes -->
<source-file src="src/android/com/android/vending/billing/IInAppBillingService.aidl" target-dir="app/src/main/aidl/com/android/vending/billing" />
<!-- Billing Key String Holder -->
<resource-file src="src/android/res/values/billing_key.xml" target="res/values/billing_key.xml" />
<config-file target="app/src/main/res/values/billing_key.xml" parent="/*">
<string name="billing_key">$BILLING_KEY</string>
</config-file>
</platform>
</plugin>