This repository has been archived by the owner on Jul 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
79 lines (79 loc) · 3.33 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
<plugin id="cordova-plugin-sqlcipher-crypto-batch-connection-manager-core-pro-free" version="0.0.1-dev">
<js-module src="www/sqlite-batch-connection-manager.js" name="sqliteBatchConnectionManager">
<runs/>
</js-module>
<platform name="android">
<config-file target="config.xml" parent="/*">
<feature name="SQLiteBatchConnectionManager">
<param name="android-package" value="io.sqlc.SQLiteBatchConnectionManager"/>
</feature>
</config-file>
<source-file src="src/android/SQLiteBatchConnectionManager.java" target-dir="src/io/sqlc"/>
<source-file src="dist-dependencies/SQLiteBatchCore.java" target-dir="src/io/sqlc"/>
<lib-file src="dist-dependencies/android-database-sqlcipher-crypto-connection-core-glue-pro-free.jar" />
</platform>
<platform name="ios">
<!-- using SQLCipher build flags & Apple Security framework ref:
- https://www.zetetic.net/sqlcipher/ios-tutorial/
- https://www.zetetic.net/blog/2013/6/27/sqlcipher-220-release.html
NOTE that the SQLITE_TEMPSTORE setting is REQUIRED to refrain from
writing the sensitive data to temp file in unencrypted format ref:
- https://www.zetetic.net/sqlcipher/design/
- https://www.zetetic.net/sqlcipher/ios-tutorial/
- -->
<config-file target="config.xml" parent="/*">
<feature name="SQLiteBatchConnectionManager">
<param name="ios-package" value="SQLiteBatchConnectionManager"/>
</feature>
</config-file>
<source-file src="src/ios/SQLiteBatchConnectionManager.m"/>
<header-file src="dist-dependencies/SQLiteBatchCore.h" />
<source-file src="dist-dependencies/SQLiteBatchCore.m" />
<header-file src="dist-dependencies/sqlite3.h" />
<source-file
src="dist-dependencies/sqlite3.c"
compiler-flags="
-DSQLITE_DEFAULT_SYNCHRONOUS=3
-DSQLITE_THREADSAFE=1
-DSQLITE_TEMPSTORE=3
-DSQLITE_HAS_CODEC
-DSQLCIPHER_CRYPTO_CC
-DNDEBUG
-DHAVE_USLEEP
-DHAVE_UTIME
" />
<header-file src="dist-dependencies/sqlite-connection-core.h" />
<source-file src="dist-dependencies/sqlite-connection-core.c"
compiler-flags="-DSQLITE_HAS_CODEC" />
<framework src="Security.framework" />
</platform>
<platform name="osx">
<!-- using SQLCipher build flags & Apple Security framework
(see notes above) -->
<config-file target="config.xml" parent="/*">
<feature name="SQLiteBatchConnectionManager">
<param name="osx-package" value="SQLiteBatchConnectionManager"/>
</feature>
</config-file>
<source-file src="src/ios/SQLiteBatchConnectionManager.m"/>
<header-file src="dist-dependencies/SQLiteBatchCore.h" />
<source-file src="dist-dependencies/SQLiteBatchCore.m" />
<header-file src="dist-dependencies/sqlite3.h" />
<source-file
src="dist-dependencies/sqlite3.c"
compiler-flags="
-DSQLITE_DEFAULT_SYNCHRONOUS=3
-DSQLITE_THREADSAFE=1
-DSQLITE_TEMPSTORE=3
-DSQLITE_HAS_CODEC
-DSQLCIPHER_CRYPTO_CC
-DNDEBUG
-DHAVE_USLEEP
-DHAVE_UTIME
" />
<header-file src="dist-dependencies/sqlite-connection-core.h" />
<source-file src="dist-dependencies/sqlite-connection-core.c"
compiler-flags="-DSQLITE_HAS_CODEC" />
<framework src="Security.framework" />
</platform>
</plugin>