-
Notifications
You must be signed in to change notification settings - Fork 15
/
plugin.xml
63 lines (58 loc) · 3.37 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="sb-cordova-plugin-utility"
version="0.0.1">
<name>A native plugin for utilty methods supported by Sunbird App</name>
<description></description>
<license>MIT</license>
<keywords></keywords>
<framework src="build-extras.gradle" custom="true" type="gradleReference"/>
<js-module src="www/plugin.js" name="SBUTILITY">
<clobbers target="sbutility" />
</js-module>
<!-- android -->
<platform name="android">
<framework src="com.android.installreferrer:installreferrer:1.1" />
<framework src="com.google.android.gms:play-services-safetynet:16.0.0" />
<framework src="com.google.android.play:core:1.9.1" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="sbutility">
<param name="android-package" value="org.sunbird.config.UtilityPlugin" />
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/android/org/sunbird/config/UtilityPlugin.java" target-dir="src/org/sunbird/config" />
<source-file src="src/android/org/sunbird/config/ReflectionUtil.java" target-dir="src/org/sunbird/config" />
<source-file src="src/android/org/sunbird/config/FileUtil.java" target-dir="src/org/sunbird/config" />
<source-file src="src/android/org/sunbird/config/BuildConfigUtil.java" target-dir="src/org/sunbird/config" />
<source-file src="src/android/org/sunbird/config/CryptoUtil.java" target-dir="src/org/sunbird/config" />
<source-file src="src/android/org/sunbird/config/DeviceSpecGenerator.java" target-dir="src/org/sunbird/config" />
<source-file src="src/android/org/sunbird/storage/StorageUtil.java" target-dir="src/org/sunbird/storage" />
<source-file src="src/android/org/sunbird/utm/PlayStoreInstallReferrer.java" target-dir="src/org/sunbird/utm" />
<source-file src="src/android/org/sunbird/utm/InstallReferrerListener.java" target-dir="src/org/sunbird/utm" />
<source-file src="src/android/org/sunbird/config/IntentUtil.java" target-dir="src/org/sunbird/config" />
<source-file src="src/android/org/sunbird/support/Base64Util.java" target-dir="src/org/sunbird/support" />
<source-file src="src/android/org/sunbird/support/JWTokenType.java" target-dir="src/org/sunbird/support" />
<source-file src="src/android/org/sunbird/support/SunbirdFileHandler.java" target-dir="src/org/sunbird/support" />
<source-file src="src/android/org/sunbird/config/JWTokenType.java" target-dir="src/org/sunbird/config" />
<source-file src="src/android/org/sunbird/config/JWTTokenCreator.java" target-dir="src/org/sunbird/config" />
</platform>
<platform name="browser">
<config-file target="config.xml" parent="/*">
<feature name="DB">
<param name="browser-package" value="utility" />
</feature>
</config-file>
<js-module src="src/browser/DBProxy.js" name="DBProxy">
<runs/>
</js-module>
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="sbutility">
<param name="ios-package" value="UtilityPlugin" />
</feature>
</config-file>
<source-file src="src/ios/UtilityPlugin.swift" />
</platform>
</plugin>