vendredi 16 janvier 2015

PouchDB not detecting sqlite plugin using cordova

I recently used PouchDB to get an easy way of developing through mobile phone but it seems there's a bit problem when I'm trying to deploy it on a mobile phone. You see, our data will contain a huge amount so the only option here is to use sqlite plugin for database instead of websql or indexeddb. So I tried the example provided by the documentation and it worked pretty well. But when I console.log(pouch.adapter) it says "websql". I tried browsing for the database using eclipse but there was nothing there. How can I force pouchdb to use sqlite always? Thanks!


Tldr; tried deploying pouchDB with sqlite plugin but instead it used websql. trying to force pouchDB to use sqlite all the time.


Aucun commentaire:

Enregistrer un commentaire