samedi 26 mars 2016

How do i use SQLite in PhoneGap/Cordova

Im using phoneGap desktop and follwing examples of how to create and use SQLite - up till now most plugin code examples on the npm official cordova plugins page tell us what is required in config.xml - however examples keep showing how to reference plugins like the, cordova-sqlite-plugin, with the CLI - as im new to phoneGap - i cant work out how to reference or even get the plugin since its not a standard cordova plugin in the config.xml file.

Most of the code examples are straight forward but assume the CLI - Where do you start if your using phoneGap with the new phoneGap desktop App and intend to use phoneGap build??. I have node and npm installed on my dev machine which is Windows. Do i follow the CLI instructions and download the plugin via the command line? In which case how do i use it in my phoneGap app?

Thanks in advance ...

Aucun commentaire:

Enregistrer un commentaire