Todo list example for Cordova-SQLitePlugin using ydn-db
Ensure you have node.js (http://nodejs.org/) and XCode available.
Install phonegap and cordova
npm install -g phonegap
npm install -g cordova
Install plugins,
-
iOS deploy
-
iOS sim
-
console log
npm install -g ios-deploy npm install -g ios-sim
Create phonegap app
phonegap create ydn-todo ydn.todo ydn-todo
Clone the repo and copy the files
git clone git clone https://github.com/yathit/cordova-sqliteplugin-todo.git
cp -r cordova-sqliteplugin-todo/ydn-todo/www/* ydn-todo/www/
Build and run
cd ydn-todo
cordova platform add ios
cordova plugin add https://github.com/millerjames01/Cordova-SQLitePlugin.git
cordova plugin add org.apache.cordova.console
phonegap build ios
cordova run ios
Special thanks to Stefano Straus stefano@straus.it for his help in setup, testing and bug reports.