Is there any advice out there for a newbie about integrating ngCordova, and the SQLlite plugin into a new ionic project?
I have added ngCordova into my project as documented, and have included the plugin using the cordova command line utility.
The issue I’m having is in testing my app, when using ionic serve I get a number of different issues depending on what I try:
Doing nothing with the sqlite js file : I get an error stating stating that the sqlitePlugin is undefined.
If I get a copy of the sqliteplugin.js file from my plugins directory, and copy it to my lib folder, then reference it in the index.html file : I get an issue with cordova not being defined :- is this becasue I am using ionic server rather than ionic emulate android/ios?
I’ve been playing with this on and off for a week now and I’m not getting anywhere, if anyone has an example I would appreciate reading through it.