https://github.com/nolanlawson/sqlite-plugin-fork
Fork of the SQLite plugin from 2014, back when it was compatible with PouchDB
https://github.com/nolanlawson/sqlite-plugin-fork
Last synced: 11 days ago
JSON representation
Fork of the SQLite plugin from 2014, back when it was compatible with PouchDB
- Host: GitHub
- URL: https://github.com/nolanlawson/sqlite-plugin-fork
- Owner: nolanlawson
- License: other
- Created: 2015-05-06T14:27:06.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-06T22:09:34.000Z (over 9 years ago)
- Last Synced: 2025-03-28T22:12:29.910Z (29 days ago)
- Language: JavaScript
- Size: 1.75 MB
- Stars: 6
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Cordova/PhoneGap SQLitePlugin fork 
This is a snapshot of the [SQLite Plugin](https://github.com/litehelpers/Cordova-sqlite-storage) back when it was passing the PouchDB test suite on Android/iOS at 100%. Since then, it has regressed.
## Deprecation notice
Instead of this repo, you can also use the `androidDatabaseImplementation` option instead: http://pouchdb.com/api.html#create_database . Set it to `2` if you want the older implementation, which has better compatibility with PouchDB.
Or better yet, just don't use the SQLite Plugin on Android. It's slower, less stable, and doesn't offer any higher storage limit than regular WebSQL/IndexedDB: http://pouchdb.com/faq.html#data_limits
Original SQLite PLugin documentation follows.
## Original documentation
The [SQLite Plugin](https://github.com/litehelpers/Cordova-sqlite-storage) (also known as SQLite Storage) has gone through many changes recently (around early 2015) that broke compatibility with PouchDB. This is a fork representing an older commit ([ad4bd32](https://github.com/litehelpers/Cordova-sqlite-storage/commit/ad4bd32b831fb0be084475ee561eba6392280883)) back when it was passing the PouchDB test suite on both Android 4.0+ and iOS 7+.
You should only use this plugin if you need more than 50MB of storage on iOS, or you need native access to the SQLite `mydatabase.db` files. Otherwise just use the built-in IndexedDB/WebSQL adapters for PouchDB. They're faster and more reliable.
Usage
---```
cordova plugin add https://github.com/nolanlawson/sqlite-plugin-fork
```TODO
---Fix the SQLite Plugin itself and make this repo obsolete.