-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
executable file
·57 lines (44 loc) · 1.93 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-pay-stripe"
version="1.0.0">
<name>Apple Pay</name>
<description>Implements Apple Pay.</description>
<keywords>cordova,payment,apple pay</keywords>
<repo>https://github.com/dovydaskukalis/cordova-plugin-apple-pay-stripe</repo>
<preference name="STRIPE_LIVE_PUBLISHABLE_KEY" />
<preference name="STRIPE_TEST_PUBLISHABLE_KEY" />
<preference name="APPLE_MERCHANT_IDENTIFIER" />
<platform name="ios">
<js-module src="www/applepay.js" name="payment">
<clobbers target="ApplePay" />
</js-module>
<framework src="PassKit.framework"/>
<header-file src="src/ios/CDVApplePay.h"/>
<source-file src="src/ios/CDVApplePay.m"/>
<config-file target="*-Debug.plist" parent="com.apple.developer.in-app-payments">
<array>
<string>$APPLE_MERCHANT_IDENTIFIER</string>
</array>
</config-file>
<config-file target="*-Release.plist" parent="com.apple.developer.in-app-payments">
<array>
<string>$APPLE_MERCHANT_IDENTIFIER</string>
</array>
</config-file>
<config-file target="config.xml" parent="/*">
<feature name="ApplePay">
<param name="ios-package" value="CDVApplePay"/>
</feature>
</config-file>
<config-file target="*-Info.plist" parent="StripeLivePublishableKey">
<string>$STRIPE_LIVE_PUBLISHABLE_KEY</string>
</config-file>
<config-file target="*-Info.plist" parent="StripeTestPublishableKey">
<string>$STRIPE_TEST_PUBLISHABLE_KEY</string>
</config-file>
<config-file target="*-Info.plist" parent="AppleMerchantIdentifier">
<string>$APPLE_MERCHANT_IDENTIFIER</string>
</config-file>
</platform>
</plugin>