-
Notifications
You must be signed in to change notification settings - Fork 32
/
plugin.xml
63 lines (56 loc) · 1.96 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
<?xml version="1.0" encoding="utf-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="com.razorpay.cordova"
version="0.16.1">
<name>RazorpayCheckout</name>
<description>Razorpay's Plugin for Checkout</description>
<author>Razorpay</author>
<keywords>razorpay,payments,payment,gateway,checkout</keywords>
<engines>
<engine name="cordova" version=">=3.4.0"/>
</engines>
<asset src="www/RazorpayCheckout.js" target="js/RazorpayCheckout.js"/>
<js-module src="www/RazorpayCheckout.js" name="RazorpayCheckout">
<clobbers target="RazorpayCheckout" />
</js-module>
<!-- Android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Checkout">
<param name="android-package" value="com.razorpay.cordova.Main"/>
</feature>
</config-file>
<!-- <framework src="src/android/plugin.gradle" custom="true" type="gradleReference"/>-->
<framework src="com.razorpay:checkout:1.6.19"/>
<source-file src="src/android/Main.java" target-dir="src/com/razorpay/cordova/"/>
</platform>
<!-- iOS -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Checkout">
<param name="ios-package" value="Main" />
</feature>
</config-file>
<header-file src="src/ios/Main.h"/>
<source-file src="src/ios/Main.m"/>
<podspec>
<config>
<source url="https://github.com/CocoaPods/specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="razorpay-pod"/>
</pods>
</podspec>
</platform>
<!-- Browser -->
<platform name="browser">
<config-file target="config.xml" parent="/*">
<feature name="Checkout">
<param name="browser-package" value="Checkout" />
</feature>
</config-file>
<js-module src="src/browser/CheckoutProxy.js" name="CheckoutProxy">
<runs />
</js-module>
</platform>
</plugin>