forked from Telerik-Verified-Plugins/Stripe
-
Notifications
You must be signed in to change notification settings - Fork 2
/
plugin.xml
67 lines (50 loc) · 1.98 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="com.telerik.stripe" version="1.0.6" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>Stripe</name>
<preference name="API_KEY" />
<js-module name="stripe" src="www/stripe.js">
<clobbers target="stripe" />
</js-module>
<js-module name="charges" src="www/charges.js">
<clobbers target="stripe.charges" />
</js-module>
<js-module name="customers" src="www/customers.js">
<clobbers target="stripe.customers" />
</js-module>
<js-module name="recipients" src="www/recipients.js">
<clobbers target="stripe.recipients" />
</js-module>
<js-module name="subscriptions" src="www/subscriptions.js">
<clobbers target="stripe.subscriptions" />
</js-module>
<js-module name="transfers" src="www/transfers.js">
<clobbers target="stripe.transfers" />
</js-module>
<js-module name="coupons" src="www/coupons.js">
<clobbers target="stripe.coupons" />
</js-module>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="Stripe">
<param name="ios-package" value="CDVStripe" />
</feature>
</config-file>
<header-file src="src/ios/CDVStripe.h" />
<source-file src="src/ios/CDVStripe.m" />
<config-file target="*-Info.plist" parent="StripeApiKey">
<string>$API_KEY</string>
</config-file>
</platform>
<platform name="android">
<config-file target="res/values/strings.xml" parent="/*">
<string name="stripe_api_key">$API_KEY</string>
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Stripe">
<param name="android-package" value="com.telerik.stripe.StripePlugin"/>
</feature>
</config-file>
<source-file src="src/android/StripePlugin.java" target-dir="src/com/telerik/stripe" />
</platform>
</plugin>