From 9e7e41a23f0c3481ce32080f61c28990173c8ef1 Mon Sep 17 00:00:00 2001 From: "Christopher J. Brody" Date: Sun, 11 Mar 2018 15:01:10 -0400 Subject: [PATCH] cordova-sqlite-legacy-build-support with SQLITE_THREADSAFE=1 for iOS/macOS (cordova-sqlite-legacy-build-support 1.3.7) ref: litehelpers/Cordova-sqlite-storage#754 --- CHANGES.md | 4 ++++ README.md | 2 +- package.json | 2 +- plugin.xml | 6 +++--- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index a8cc3d0..183ee02 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Changes +## cordova-sqlite-legacy-build-support 1.3.7 + +- cordova-sqlite-legacy-build-supportwith SQLITE_THREADSAFE=1 for iOS/macOS ref: litehelpers/Cordova-sqlite-storage#754 () + ## cordova-sqlite-legacy-build-support 1.3.6 ##### cordova-sqlite-legacy-core 1.0.6 diff --git a/README.md b/README.md index d8f052f..6000a21 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ See the [Sample section](#sample) for a sample with a more detailed explanation. - A recent version of the Cordova CLI (such as `6.5.0`, Cordova 7(+) no longer supports WP8) is recommended. Cordova versions older than `6.0.0` are missing the `cordova-ios@4.0.0` security fixes. In addition it is *required* to use `cordova prepare` in case of cordova-ios older than `4.3.0` (Cordova CLI `6.4.0`). - This plugin will NOT work on `cordova-android@7` due to issue with JAR and NDK library files as discussed in [litehelpers/Cordova-sqlite-storage#729](https://github.com/litehelpers/Cordova-sqlite-storage/issues/729). - SQLite _implementation is included_ (all platforms), with the following definitions for TBD iOS/macOS/Windows: - - `SQLITE_THREADSAFE=1` (`SQLITE_THREADSAFE=2` on iOS/macOS) + - `SQLITE_THREADSAFE=1` - `SQLITE_DEFAULT_MEMSTATUS=0` - `SQLITE_OMIT_DECLTYPE` - `SQLITE_OMIT_DEPRECATED` diff --git a/package.json b/package.json index ea9fea9..6c0b2e9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-sqlite-legacy-build-support", - "version": "1.3.6", + "version": "1.3.7", "description": "Native interface to SQLite for PhoneGap/Cordova (legacy build support)", "cordova": { "id": "cordova-sqlite-legacy-build-support", diff --git a/plugin.xml b/plugin.xml index a6afb42..8cd2565 100644 --- a/plugin.xml +++ b/plugin.xml @@ -2,7 +2,7 @@ + version="1.3.7"> Cordova sqlite legacy build support @@ -59,7 +59,7 @@ + compiler-flags="-w -DSQLITE_THREADSAFE=1 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_TEMP_STORE=2 -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE -DSQLITE_DEFAULT_PAGE_SIZE=1024 -DSQLITE_DEFAULT_CACHE_SIZE=2000" /> @@ -80,7 +80,7 @@ + compiler-flags="-w -DSQLITE_THREADSAFE=1 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_TEMP_STORE=2 -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_RTREE -DSQLITE_DEFAULT_PAGE_SIZE=1024" />