forked from floatinghotpot/cordova-plugin-paypalmpl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
50 lines (41 loc) · 1.86 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
<?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.layinka.cordova.plugin.paypalmpl"
version="1.0.0">
<name>PayPalMPL</name>
<description>Add PayPal support with MPL SDK (Mobile Payment Library, not new SDK) to your cordova apps or games</description>
<author>Liming Xie</author>
<license>MIT</license>
<keywords>paypal,payment,purchase,pay,buy</keywords>
<repo>https://github.com/layinka/cordova-plugin-paypalmpl.git</repo>
<issue>https://github.com/layinka/cordova-plugin-paypalmpl/issues</issue>
<engines>
<engine name="cordova" version=">=3.0" />
</engines>
<js-module src="www/PayPalMPL.js" name="PayPalMPL">
<clobbers target="window.plugins.PayPalMPL" />
</js-module>
<!-- android -->
<platform name="android">
<dependency id="com.paypal.mpl-android" version=">=1.5.5"/>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="PayPalMPL">
<param name="android-package" value="com.rjfun.cordova.plugin.PayPalMPL"/>
</feature>
</config-file>
<source-file src="src/android/PayPalMPL.java" target-dir="src/com/rjfun/cordova/plugin" />
<source-file src="src/android/PayPalMPLResultDelegate.java" target-dir="src/com/rjfun/cordova/plugin" />
</platform>
<!-- ios -->
<platform name="ios">
<dependency id="com.paypal.mpl-ios" version=">=2.0.1"/>
<config-file target="config.xml" parent="/*">
<feature name="PayPalMPL">
<param name="ios-package" value="CDVPayPalMPL" />
</feature>
</config-file>
<header-file src="src/ios/CDVPayPalMPL.h" />
<source-file src="src/ios/CDVPayPalMPL.m" />
</platform>
</plugin>