-
Notifications
You must be signed in to change notification settings - Fork 2
/
plugin.xml
35 lines (27 loc) · 1.46 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
<?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="com.mrfoh.paystackcordova.v2" version="2.0.3">
<name>PaystackCordovaV2</name>
<description>This plugin allows to add Paystack Payments to your android cordova application using the Paystack Mobile SDK for android</description>
<keywords>paystack, sdk, payments</keywords>
<license>MIT, see LICENSE.md for details</license>
<engines>
<engine name="cordova" version=">=6.0.0" />
</engines>
<js-module src="www/paystack.js" name="Paystack">
<clobbers target="window.plugins.paystackCordova" />
</js-module>
<!-- android -->
<platform name="android">
<preference name="PUBLIC_KEY" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="PaystackCordova">
<param name="android-package" value="com.mrfoh.paystackcordovav2.PaystackCordova" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="application">
<meta-data android:name="co.paystack.android.PublicKey" android:value="$PUBLIC_KEY"/>
</config-file>
<source-file src="src/android/PaystackCordova.java" target-dir="src/com/mrfoh/paystackcordovav2/paystackcordova" />
<framework src="src/android/build.gradle" custom="true" type="gradleReference" />
</platform>
</plugin>