forked from Sunbird-Ed/sb-cordova-plugin-db
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
43 lines (37 loc) · 1.66 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="sb-cordova-plugin-db"
version="0.0.1">
<name>A native db plugin for Sunbird</name>
<description></description>
<license>MIT</license>
<keywords></keywords>
<js-module src="www/plugin.js" name="DB">
<clobbers target="db" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="db">
<param name="android-package" value="org.sunbird.db.SunbirdDBPlugin" />
<param name="onload" value="true" />
</feature>
</config-file>
<source-file src="src/android/org/sunbird/db/SQLiteOperator.java" target-dir="src/org/sunbird/db" />
<source-file src="src/android/org/sunbird/db/Migration.java" target-dir="src/org/sunbird/db" />
<source-file src="src/android/org/sunbird/db/SunbirdDBContext.java" target-dir="src/org/sunbird/db" />
<source-file src="src/android/org/sunbird/db/SunbirdDBHelper.java" target-dir="src/org/sunbird/db" />
<source-file src="src/android/org/sunbird/db/SunbirdDBPlugin.java" target-dir="src/org/sunbird/db" />
<source-file src="src/android/org/sunbird/db/FileUtil.java" target-dir="src/org/sunbird/db" />
</platform>
<platform name="browser">
<config-file target="config.xml" parent="/*">
<feature name="DB">
<param name="browser-package" value="DB" />
</feature>
</config-file>
<js-module src="src/browser/DBProxy.js" name="DBProxy">
<runs/>
</js-module>
</platform>
</plugin>