You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

99 lines
4.5 KiB
XML

<?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-netsyms"
version="0.0.9">
<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., Netsyms Technologies</author>
<license>MIT</license>
<keywords>cordova,stripe,payments,apple pay,ach,google pay,cards,credit cards,checkout</keywords>
<repo>https://source.netsyms.com/Netsyms/cordova-plugin-stripe-payments</repo>
<issue>https://source.netsyms.com/Netsyms/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:20.25.7" />
<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="~> 23.9.2" />
<framework src="Alamofire" type="podspec" spec="~> 4.8.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>