forked from whiteboxmedia/cordova-sumup-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
42 lines (37 loc) · 1.61 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
<?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="cordova-plugin-sumup"
version="1.0.1">
<engines>
<engine name="cordova" version=">=3.0.0" />
<engine name="cordova-android" version=">=3.0.0" />
</engines>
<name>Sumup</name>
<description>Cordova Sumup Plugin</description>
<license>Apache 2.0</license>
<keywords>cordova,sumup</keywords>
<author>Oupsla</author>
<asset src="www/sumup.js" target="js/sumup.js"/>
<js-module src="www/sumup.js" name="Sumup">
<clobbers target="Sumup" />
</js-module>
<platform name="android">
<preference name="SUMUP_API_KEY" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Sumup">
<param name="android-package" value="com.sumup.cordova.plugins.Sumup" />
<param name="onload" value="true" />
</feature>
</config-file>
<config-file target="./res/values/strings.xml" parent="/resources">
<string name="SUMUP_API_KEY">$SUMUP_API_KEY</string>
</config-file>
<resource-file src="src/android/sdksumup/merchant-sdk-2.3.0.aar" target="libs/merchant-sdk-2.3.0.aar" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<source-file src="src/android/Sumup.java" target-dir="src/com/sumup/cordova/plugins" />
<framework src="src/android/build.gradle" custom="true" type="gradleReference" />
</platform>
</plugin>