mardi 16 juin 2015

sqLite database not created with persistance.js

I am using peristancejs in my POC.It is a combination of Ionic ,AngularJs,peristancejs . My basic problem is , once I run the app it doesn't creating Sqlite database in local .I am currently running my app in chrome browser.It is only creating WebSQL database.

Below is my code snippet for configuration:

persistence.store.cordovasql.config( persistence, ENV.dbName, ENV.dbVersion, ENV.dbName, ENV.dbSize, 0 );

Also installed SQLite in my current lib directory.

I read that in Persistence js documentation If Sqlite database in not configured or not available then it will directly fallback to webSQL.

Can any one having same problem?

Aucun commentaire:

Enregistrer un commentaire