Skip to content

ChrisTomAlx/sqlite-plugin-fork

 
 

Repository files navigation

Cordova/PhoneGap SQLitePlugin fork project unmaintained

This is a snapshot of the SQLite Plugin 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 (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) 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.

About

Fork of the SQLite plugin from 2014, back when it was compatible with PouchDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 39.7%
  • C# 31.5%
  • HTML 12.0%
  • Java 7.8%
  • Objective-C 6.1%
  • CSS 2.6%
  • Shell 0.3%