-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathplugin.xml
More file actions
63 lines (56 loc) · 2.95 KB
/
plugin.xml
File metadata and controls
63 lines (56 loc) · 2.95 KB
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 id="com.interswitchng.sdk.payment" version="0.0.1"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>PaymentPlugin</name>
<description>Cordova Payment Plugin on Interswitch Platform</description>
<license>Apache 2.0</license>
<keywords>cordova,payment</keywords>
<repo></repo>
<issue></issue>
<preference name="CLIENT_ID" default="" />
<preference name="CLIENT_SECRET" default="" />
<js-module name="PaymentPlugin" src="www/PaymentPlugin.js">
<clobbers target="PaymentPlugin" />
</js-module>
<!-- android -->
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="PaymentPlugin" >
<param name="android-package" value="PaymentPlugin"/>
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<meta-data android:name="clientId" android:value="$CLIENT_ID" />
<meta-data android:name="clientSecret" android:value="$CLIENT_SECRET" />
</config-file>
<source-file src="src/android/PaymentPlugin.java" target-dir="src/" />
<source-file src="src/android/PluginUtils.java" target-dir="src/" />
<source-file src="src/android/PayWithOutUI.java" target-dir="src/" />
<source-file src="src/android/PayWithUI.java" target-dir="src/" />
<source-file src="src/android/PaymentCallback.java" target-dir="src/" />
<source-file src="src/android/ValidateCardCallback.java" target-dir="src/" />
<framework src="com.android.support:appcompat-v7:23.1.1" />
<framework src="com.android.support:design:23.1.1" />
<framework custom="true" src="src/android/build.gradle" type="gradleReference" />
<resource-file src="libs/payment-android-release.aar"
target="libs/payment-android-release.aar" />
<resource-file src="libs/deviceprint-release-2.2.0.aar"
target="libs/deviceprint-release-2.2.0.aar" />
<resource-file src="libs/core.jar" target="libs/core.jar" />
<resource-file src="libs/gson-2.3.1.jar" target="libs/gson-2.3.1.jar" />
<resource-file src="libs/payment-1.0.0.jar" target="libs/payment-1.0.0.jar" />
</platform>
<platform name='ios'>
<config-file target='config.xml' parent='/*'>
<feature name='PaymentPlugin'>
<param name='ios-package' value='PaymentPlugin'/>
</feature>
</config-file>
<source-file src='src/ios/PaymentPlugin.swift'/>
<source-file src='src/ios/PayWithoutUI.swift'/>
<source-file src='src/ios/PayWithUI.swift'/>
<source-file src='src/ios/Utils.swift'/>
<framework src="src/ios/Frameworks/PaymentSDK.framework" custom="true"/>
</platform>
<dependency id="cordova-plugin-add-swift-support" url="https://github.com/akofman/cordova-plugin-add-swift-support"/>
</plugin>