Skip to content

Commit

Permalink
cordova-sqlcipher-adapter with SQLITE_THREADSAFE=1 for iOS/macOS
Browse files Browse the repository at this point in the history
(cordova-sqlcipher-adapter 0.1.12-rc2)

ref: storesafe/cordova-sqlite-storage#754
  • Loading branch information
Christopher J. Brody committed Mar 5, 2018
1 parent 05a9166 commit f80c0d7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changes

## cordova-sqlcipher-adapter 0.1.12-rc2

- cordova-sqlcipher-adapter with SQLITE_THREADSAFE=1 for iOS/macOS ref: litehelpers/Cordova-sqlite-storage#754 (<https://github.com/litehelpers/Cordova-sqlite-storage/issues/754>)

## cordova-sqlcipher-adapter 0.1.12-rc1

- SQLCipher for Android 3.5.9 Gradle reference
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ See the [Sample section](#sample) for a sample with a more detailed explanation
- `SQLITE_LOCKING_STYLE=1` (iOS/macOS only)
- `DSQLITE_DEFAULT_JOURNAL_SIZE_LIMIT=1048576` (Android only)
- `NDEBUG` (`NDEBUG=1` on Android)
- `SQLITE_THREADSAFE=1` (`SQLITE_THREADSAFE=2` on iOS/macOS)
- `SQLITE_THREADSAFE=1`
- `DSQLITE_ENABLE_MEMORY_MANAGEMENT=1` (Android only)
- `SQLITE_DEFAULT_MEMSTATUS=0` (iOS/macOS/...)
- `SQLITE_OMIT_DECLTYPE` (iOS/macOS/...)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-sqlcipher-adapter",
"version": "0.1.12-rc1",
"version": "0.1.12-rc2",
"description": "SQLCipher database adapter for PhoneGap/Cordova, based on cordova-sqlite-storage",
"cordova": {
"id": "cordova-sqlcipher-adapter",
Expand Down
8 changes: 5 additions & 3 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-sqlcipher-adapter"
version="0.1.12-rc1">
version="0.1.12-rc2">

<name>Cordova sqlcipher adapter</name>

Expand Down Expand Up @@ -74,7 +74,8 @@
-DSQLITE_HAS_CODEC -DHAVE_USLEEP=1
-DSQLITE_TEMP_STORE=3
-DSQLCIPHER_CRYPTO_CC -DSQLITE_LOCKING_STYLE=1 -DNDEBUG
-DSQLITE_THREADSAFE=2 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_OMIT_DECLTYPE
-DSQLITE_THREADSAFE=1
-DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_OMIT_DECLTYPE
-DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_OMIT_LOAD_EXTENSION
-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE
-DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_JSON1
Expand Down Expand Up @@ -107,7 +108,8 @@
-DSQLITE_HAS_CODEC -DHAVE_USLEEP=1
-DSQLITE_TEMP_STORE=3
-DSQLCIPHER_CRYPTO_CC -DSQLITE_LOCKING_STYLE=1 -DNDEBUG
-DSQLITE_THREADSAFE=2 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_OMIT_DECLTYPE
-DSQLITE_THREADSAFE=1
-DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_OMIT_DECLTYPE
-DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_OMIT_LOAD_EXTENSION
-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE
-DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_JSON1
Expand Down

0 comments on commit f80c0d7

Please sign in to comment.