storesafe / cordova-plugin-sqlite-evplus-ext-common-free Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
This is actually wanted by a client organization along with the extra-large result support with SQLCipher (#6).
This functionality is already part of cordova-sqlite-evcore-extbuild-free and should be straightforward to merge this or another evplus plugin version.
Similar to:
Reproduced on Pixel 5 (via BrowserStack)
This issue does not appear with target SDK 30 on Android 11 emulator.
P.S. I am planning to resolve storesafe/cordova-sqlite-evcore-extbuild-free#56 on cordova-sqlite-evcore-extbuild-free
before resolving this issue on the evplus plugin version. The solution should be almost the same for both evcore and evplus.
Workaround solution for storesafe/cordova-sqlite-storage#666 is missing in this sqlite plugin version, will be included soon.
Originally reported in storesafe/cordova-sqlite-storage#147. This issue is due to Cordova issue reported for iOS in Apache Cordova CB-9435, for Android in apache/cordova-discuss#57. This issue was solved for iOS/macOS with a workaround solution in https://github.com/litehelpers/cordova-sqlite-evplus-ext-legacy-build-free and https://github.com/litehelpers/Cordova-sqlite-evplus-legacy-attach-detach-free.
I am tentatively planning to include the workaround solution for iOS/macOS along with a possible workaround solution for Android in this plugin version.
Hello,
I am using the latest release and I am trying to fetch 35k records. But the app is crashing.
Thanks,
My app is using Crosswalk plugin, which compiles separate APKs for different architectures. I've tested my app on Android ARM v7 device and it is working as expected, but the same app compiled for x86 device displays HEX codes instead of Unicode characters, e.g. ?ffffffc5??ffffffa1? instead of š. I have been testing different versions of your SQLite plugins with Android NDK implementation, but it is the same.
It was working alright with cordova-sqlite-storage plugin.
Highly desired considering that the evcore plugin version already has this update.
This may be done while resolving issue #9 (issue with target SDK 30 & some Android 11 devices).
updated:
SQLite 3.3.6.0 should resolve this potential corruption issue, according to this: https://sqlite.org/forum/forumpost/ac6086ecde66f1c4?t=h
corresponding to: storesafe/cordova-sqlite-evcore-extbuild-free#59
P.S. It now looks to me like they did fix this for SQLite 3.35.5 as well, I have added another comment to the SQLite forum thread.
I discovered this ticket today: https://www.sqlite.org/src/tktview?name=c88f3036a2
While I think it is not likely to affect too many users, I would very strongly favor anything we can do to avoid the data corruption risks.
I can think of 2 possible mitigations, which would be breaking changes:
#if 0
or #ifdef
some references:
It is safe to use version 0.4.1-rc01 in production?
This plugin version does have a workaround to avoid a memory issue with extra-large result sets on Android, as already discussed in storesafe/cordova-sqlite-storage-help#70, and I have an organization who is interested in using a similar solution together with SQLCipher. They would like to start testing this kind of a solution within the next 1-2 weeks if possible.
The challenge is that the existing workaround solution was designed to work with the evplus NDK build and not with the standard android.database API which is supported by sqlcipher/android-database-sqlcipher
.
The organization's timelines would preclude making a new evplus NDK build with SQLCIpher. A new evplus NDK build with SQLCipher would need to include a build of OpenSSL as well, like they made in sqlcipher/android-database-sqlcipher
.
This means that we would need an evplus enhancement with a similar memory workaround solution working with the android.database API, as generally configured by the androidDatabaseProvider: 'system'
setting.
I would very likely make this kind of enhancement on this plugin version and then use it to make the new evplus plugin for SQLCipher.
P.S. I am raising this issue due to the urgency for the organization. I have already started working on a new SQLite plugin design, as discussed in brodybits/ask-me-anything#3, which would much rather support in the long run.
Flat JSON interface for performance and memory usage enhancement is missing for iOS in this plugin version. Will be included in the near future.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.