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.
82 lines
3.3 KiB
XML
82 lines
3.3 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"
|
|
version="0.0.5">
|
|
|
|
<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>
|
|
|
|
<source-file src="src/android/StripePaymentsPlugin.java" target-dir="src/com/rolamix/plugins/stripe/" />
|
|
<framework src="src/android/StripePaymentsPlugin.gradle" custom="true" type="gradleReference" />
|
|
</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" />
|
|
</platform>
|
|
</plugin>
|
|
|
|
|
|
|
|
|