forked from nuvoPoint/cordova-plugin-sumup
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.xml
61 lines (57 loc) · 3.11 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
id="cordova-plugin-sumup"
version="1.3.1">
<name>SumUp</name>
<author>StorePilot</author>
<description>
Cordova plugin for integration with SumUp SDK
</description>
<license>MIT</license>
<repo>https://github.com/storepilot/cordova-plugin-sumup.git</repo>
<issue>https://github.com/storepilot/cordova-plugin-sumup/issues</issue>
<keywords>
sumup, cordova, phonegap, cordova:ecosystem, phonegap:ecosystem
</keywords>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="SumUp" >
<param name="android-package" value="com.storepilot.cordova.sumup.SumUp" />
</feature>
</config-file>
<source-file src="src/android/SumUp.java" target-dir="src/com/storepilot/cordova/sumup" />
<config-file target="AndroidManifest.xml" parent="/*">
<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" />
</config-file>
<framework src="src/android/build.gradle" custom="true" type="gradleReference" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="SumUp">
<param name="ios-package" value="CDVSumUp"/>
</feature>
</config-file>
<config-file target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription">
<string>To provide a secure service, we need to know your location. Without location information, you cannot use SumUp.</string>
</config-file>
<config-file target="*-Info.plist" parent="NSBluetoothPeripheralUsageDescription">
<string>The app needs to connect to Bluetooth peripherals to detect the SumUp Card Terminal correctly. Please confirm with OK as you cannot use your card reader otherwise.</string>
</config-file>
<config-file target="*-Info.plist" parent="NSMicrophoneUsageDescription">
<string>The app needs to access the microphone of your audio jack in order for the SumUp Card Reader to be detected correctly. Please confirm with OK as you cannot use your card reader otherwise.</string>
</config-file>
<config-file target="*-Info.plist" parent="NSLocationUsageDescription">
<string>To provide a secure service, we need to know your location. Without location information, you cannot use SumUp.</string>
</config-file>
<config-file target="*-Info.plist" parent="NSPhotoLibraryUsageDescription">
<string>To be able to upload images, please allow the app access to your photo library.</string>
</config-file>
<header-file src="src/ios/CDVSumUp.h" />
<source-file src="src/ios/CDVSumUp.m" />
<framework src="SumUpSDK" type="podspec" spec="~> 3.3.0" />
</platform>
</plugin>