-
Notifications
You must be signed in to change notification settings - Fork 2
/
plugin.xml
59 lines (50 loc) · 2.09 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
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-payhere" version="0.0.10" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>PayHere</name>
<description>Cordova PayHere Plugin</description>
<author>Nipuna Harshana</author>
<license>MIT</license>
<js-module name="payhere" src="www/payhere.js">
<clobbers target="payhere" />
</js-module>
<engines>
<engine name="cordova" version=">=7.0.0" />
<engine name="cordova-android" version=">=8.0.0" />
<engine name="cordova-ios" version=">=5.0.0" />
</engines>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="Payhere">
<param name="onload" value="true" />
<param name="ios-package" value="Payhere"/>
</feature>
</config-file>
<source-file src="src/ios/Payhere.swift" />
<!-- <framework src="payHereSDK" type="podspec" spec="2.0.0"/>
<podspec>
<config>
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="payHereSDK" spec="2.0.0" />
</pods>
</podspec> -->
</platform>
<!-- android -->
<platform name="android">
<framework src="payhere.gradle" custom="true" type="gradleReference" />
<framework src="com.android.support.constraint:constraint-layout:1.0.2" />
<framework src="com.android.support:appcompat-v7:26.1.0" />
<framework src="com.google.code.gson:gson:2.8.0" />
<framework src="lk.payhere.sdk:android-payment-sdk:2.0.24" />
<config-file target="config.xml" parent="/*">
<feature name="Payhere">
<param name="android-package" value="lk.nsoft.cordova.plugins.Payhere"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET" />
</config-file>
<source-file src="src/android/lk/nsoft/cordova/plugins/Payhere.java" target-dir="src/lk/nsoft/cordova/plugins"/>
</platform>
</plugin>