forked from TwoThreeSevenPlatform/cordova-plugin-applepay
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathplugin.xml
56 lines (41 loc) · 1.75 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:rim="http://www.blackberry.com/ns/widgets"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-applepay"
version="0.0.1">
<name>ApplePay</name>
<description>Implements Stripe/ApplePay Stuff.</description>
<keywords>cordova,payment,apple,pay,stripe</keywords>
<repo>[email protected]:fan-si/cordova-plugin-applepay.git</repo>
<preference name="STRIPE_PUBLISHABLE_KEY" />
<preference name="APPLE_PAY_MERCHANT" />
<platform name="ios">
<js-module src="www/applepay.js" name="applepay">
<clobbers target="ApplePay" />
</js-module>
<header-file src="src/ios/CDVApplePay.h"/>
<source-file src="src/ios/CDVApplePay.m"/>
<config-file target="config.xml" parent="/*">
<feature name="ApplePay">
<param name="ios-package" value="CDVApplePay"/>
</feature>
</config-file>
<config-file target="*-Info.plist" parent="StripePublishableKey">
<string>$STRIPE_PUBLISHABLE_KEY</string>
</config-file>
<config-file target="*-Info.plist" parent="ApplePayMerchant">
<string>$APPLE_PAY_MERCHANT</string>
</config-file>
<config-file target="*.entitlements" parent="com.apple.developer.in-app-payments">
<array>
<string>$APPLE_PAY_MERCHANT</string>
</array>
</config-file>
<framework src="src/ios/Stripe.framework" custom="true" />
<framework src="AddressBook.framework" />
<framework src="PassKit.framework" />
<framework src="Foundation.framework" />
<framework src="Security.framework" />
</platform>
</plugin>