The PhoneGap CLI provides a command line interface for creating PhoneGap apps as
- an alternative to using the PhoneGap Desktop application.
- The PhoneGap CLI was the main tool used for creating PhoneGap apps prior to PhoneGap Desktop and
- contains additional features over the PhoneGap Desktop
- for building, running and packaging PhoneGap applications for multiple platforms.
npm install -g phonegapphonegap create . --id "com.technicalmedia.plotterplatform" --name "PlotterPlatform"phonegap servePhoneGap and PhoneGap Build are built upon the Apache Cordova Project.
- See docs.cordova.io - how PhoneGap and Cordova applications are configured.
- PhoneGap applications are configured using a config.xml file at the root of your application
let pathToFile = `${cordova.file.dataDirectory}phonegapdevapp/www/${fileName}`;- zip the folder
- upload the folder to phonegap build
PhoneGap Build is a cloud service for compiling PhoneGap applications