-
Notifications
You must be signed in to change notification settings - Fork 10
/
plugin.xml
executable file
·105 lines (73 loc) · 3.88 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?xml version='1.0' encoding='utf-8'?>
<plugin id="bms-core" version="2.6.0" xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>BMSCore</name>
<dependency id="[email protected]"/>
<dependency id="cordova-plugin-add-swift-support"/>
<js-module name="BMSClient" src="www/BMSClient.js">
<clobbers target="BMSClient"/>
</js-module>
<js-module name="BMSRequest" src="www/BMSRequest.js">
<clobbers target="BMSRequest"/>
</js-module>
<js-module name="BMSLogger" src="www/BMSLogger.js">
<clobbers target="BMSLogger"/>
</js-module>
<js-module name="BMSAnalytics" src="www/BMSAnalytics.js">
<clobbers target="BMSAnalytics"/>
</js-module>
<platform name="android">
<!-- Include Android BMS SDK -->
<framework src="src/android/build-extras.gradle" custom="true" type="gradleReference" />
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET" />
<!-- For MCA Authentication -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
</config-file>
<config-file parent="/*" target="res/xml/config.xml">
<feature name="BMSClient">
<param name="android-package" value="com.ibm.mobilefirstplatform.clientsdk.cordovaplugins.core.CDVBMSClient"/>
</feature>
<feature name="BMSRequest">
<param name="android-package" value="com.ibm.mobilefirstplatform.clientsdk.cordovaplugins.core.CDVBMSRequest"/>
</feature>
<feature name="BMSLogger">
<param name="android-package" value="com.ibm.mobilefirstplatform.clientsdk.cordovaplugins.core.CDVBMSLogger"/>
</feature>
<feature name="BMSAnalytics">
<param name="android-package" value="com.ibm.mobilefirstplatform.clientsdk.cordovaplugins.core.CDVBMSAnalytics"/>
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml"/>
<source-file src="src/android/CDVBMSClient.java" target-dir="src/com/ibm/mobilefirstplatform/clientsdk/cordovaplugins/core" />
<source-file src="src/android/CDVBMSRequest.java" target-dir="src/com/ibm/mobilefirstplatform/clientsdk/cordovaplugins/core" />
<source-file src="src/android/CDVBMSLogger.java" target-dir="src/com/ibm/mobilefirstplatform/clientsdk/cordovaplugins/core" />
<source-file src="src/android/CDVBMSAnalytics.java" target-dir="src/com/ibm/mobilefirstplatform/clientsdk/cordovaplugins/core" />
</platform>
<!-- ios -->
<platform name="ios">
<pods-config use-frameworks="true" ios-min-version="8.0"/>
<pod id="BMSAnalytics" version="~>2.0"/>
<config-file parent="/*" target="config.xml">
<feature name="BMSClient">
<param name="ios-package" value="CDVBMSClient"/>
</feature>
<feature name="BMSRequest">
<param name="ios-package" value="CDVBMSRequest"/>
</feature>
<feature name="BMSLogger">
<param name="ios-package" value="CDVBMSLogger"/>
</feature>
<feature name="BMSAnalytics">
<param name="ios-package" value="CDVBMSAnalytics"/>
</feature>
</config-file>
<source-file src="src/ios/CDVBMSClient.swift" />
<source-file src="src/ios/CDVBMSRequest.swift" />
<source-file src="src/ios/CDVBMSLogger.swift" />
<source-file src="src/ios/CDVBMSAnalytics.swift" />
<source-file src="src/ios/CustomErrorTypes.swift" />
<source-file src="src/ios/Utils.swift" />
</platform>
</plugin>