From what I'm seeing, this blogpost recommends manually adding a custom plugin for both Android and iOS. If you want to follow this blogpost (which seems very outdated), you will have to complete a number of tasks.
- Download the plugin version for iOS and Android.
- Update the plugin to target Apache Cordova 3.2 OR change the target version of your project to match the plugin. (From the dates when this has been modifies, it seems your best bet is Apache Cordova 2.4).
- Update the plugin to make it Plugman compatible.
- Add the plugin to your project.
- Add the Android database file to assets folder nested inside the Plugins folder in your project by following this procedure.
- Add the iOS database file to the root of your project by following this procedure.
However, we cannot verify that this will work. You still might need to make a number of tweaks to your project and code base to see what this blogpost describes in action.
Alternatively, you can enable the SQLite plugin in your project (Project Properties -> Plugins -> enable SQLIte) and follow the guidelines in the current thread or here
, and here
. You can also take a look at our sample app