forked from Rolamix/cordova-plugin-stripe-payments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
99 lines (82 loc) · 4.56 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
84
85
86
87
88
89
90
91
92
93
94
95
<?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="cordova-plugin-stripe-payments"
version="0.0.8">
<name>Stripe Payments</name>
<description>Cordova plugin for Stripe payments using the native Android/iOS SDKs. Supports Apple Pay and card payments.</description>
<author>Rolamix, Inc.</author>
<license>MIT</license>
<keywords>cordova,stripe,payments,apple pay,ach,google pay,cards,credit cards,checkout</keywords>
<repo>https://github.com/rolamix/cordova-plugin-stripe-payments</repo>
<issue>https://github.com/rolamix/cordova-plugin-stripe-payments/issues</issue>
<engines>
<engine name="cordova" version=">=7.1.0"/>
<engine name="cordova-android" version=">=7.1.0"/>
<!-- If installing on Cordova IOS 5.0, make sure to add
<preference name="SwiftVersion" value="4.1" />
to your config.xml under the ios platform section.
If installing on Cordova iOS < 5.0, you need to add cordova-plugin-add-swift-support
to your project and specify <preference name="UseSwiftLanguageVersion" value="4" />
in your config.xml file under the ios platform section. -->
<engine name="cordova-ios" version=">=4.5.0"/>
</engines>
<js-module src="www/StripePaymentsPlugin.js" name="StripePaymentsPlugin">
<clobbers target="window.plugins.StripePaymentsPlugin" />
</js-module>
<!-- Android -->
<platform name="android">
<!-- <config-file parent="/*/application" target="AndroidManifest.xml">
<meta-data android:name="com.google.android.gms.wallet.api.enabled" android:value="true" />
</config-file> -->
<config-file target="res/xml/config.xml" parent="/*">
<feature name="StripePaymentsPlugin">
<param name="android-package" value="com.rolamix.plugins.stripe.StripePaymentsPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application/activity[@android:name='MainActivity']">
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:host="stripe3ds" android:scheme="stripe"/>
</intent-filter>
</config-file>
<framework src="com.stripe:stripe-android:8.7.0" />
<framework src="src/android/build-extras-stripe-payments.gradle" custom="true" type="gradleReference" />
<source-file src="src/android/RetrofitFactory.java" target-dir="src/com/rolamix/plugins/stripe/" />
<source-file src="src/android/StripePaymentConfig.java" target-dir="src/com/rolamix/plugins/stripe/" />
<source-file src="src/android/StripePaymentsPlugin.java" target-dir="src/com/rolamix/plugins/stripe/" />
<source-file src="src/android/StripePluginConfig.java" target-dir="src/com/rolamix/plugins/stripe/" />
<source-file src="src/android/StripePluginEphemeralKeyProvider.java" target-dir="src/com/rolamix/plugins/stripe/" />
<source-file src="src/android/StripePluginUtils.java" target-dir="src/com/rolamix/plugins/stripe/" />
<source-file src="src/android/StripeService.java" target-dir="src/com/rolamix/plugins/stripe/" />
</platform>
<!-- iOS -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="StripePaymentsPlugin">
<param name="ios-package" value="StripePaymentsPlugin"/>
</feature>
</config-file>
<framework src="Stripe" type="podspec" spec="~> 15.0.0" />
<framework src="Alamofire" type="podspec" spec="~> 4.8.1" />
<framework src="CardIO" type="podspec" spec="~> 5.4.1" />
<!-- https://github.com/cordova-develop/cordova-plugin-pods3/blob/master/plugin.xml -->
<!-- <podspec>
<config>
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="Stripe" spec="~> 15.0.0" />
<pod name="CardIO" spec="~> 5.4.1" />
<pod name="Alamofire" spec="~> 4.8.1" swift-version="4.2" />
</pods>
</podspec> -->
<source-file src="src/ios/StripeAPIClient.swift" />
<source-file src="src/ios/StripePaymentOptions.swift" />
<source-file src="src/ios/StripePaymentsPluginConfig.swift" />
<source-file src="src/ios/StripePaymentsPlugin.swift" />
<source-file src="src/ios/StripePaymentContextFooterView.swift" />
</platform>
</plugin>