PouchDB on Hybrid Cordova App Not working <p>Am new to Hybrid app development, Am using Cordova v5, Ionic and PouchDB for my app. It seems everything works fine on Ionic serve command, but any operation on PouchDB seems to be not working on actual devices running Android Lollipop. </p> <p>Am explicitly specifying 'WebSQL' when creating pouchDB object. I don't know whether Am missing any steps.</p> <p>Here is the code</p> <pre><code> var houselst = JSON.parse('&lt;some json string&gt;'); new PouchDB('SH_HouseVisitDB', { adapter: 'websql' }).destroy().then(function () { return new PouchDB('SH_HouseVisitDB'); }).then(function (db) { var doc = { "_id": "houselist", "items": houselst }; //insert the doc to pouchDB db.put(doc); db.get('houselist').then(function (doc) { vm.houselist = _.sortBy(doc.items, "name"); db.close(); }); } </code></pre> <p>Any help will be greatly appreciated.</p>