download-builds-from-phonegap

1.0.9 • Public • Published

download build from Phonegap Build

downloads the Android and iOS package to Phonegap Build

Installation

npm install -g download-builds-from-phonegap

Usage:

You can import this script inside your NodeJS application:

First you need it installed locally: npm install download-builds-from-phonegap --save-dev

Once you've done this you can use it in code:

var ionicToPhonegap = require('ionic-to-phonegap-build');

ionicToPhonegap.sendToPhonegapBuild('Your Phonegap app id', 'Your Phonega auth token', isDebugBoolean[true/false]);

Parameters

Phonegap application id

ex '2334553'

Phonegap token id

ex 'qfqfggFDGSsgdggs'

callback

Execute with npm scripts

Create js file

Create a phbuild.js file with following contents:


var ionicToPhonegap = require('ionic-to-phonegap-build');
ionicToPhonegap.sendToPhonegapBuild('2922066', 'D9eKg6fdggjuxjskEbGm4KZy', true);

Add script in package.json

in your package.json add following script in the scripts section:


scripts: {
"phbuild": "node phbuild.js"
  },

Run it

Now you can run it manually:


npm run phbuild

Package Sidebar

Install

npm i download-builds-from-phonegap

Weekly Downloads

1

Version

1.0.9

License

MIT

Last publish

Collaborators

  • nahim.alhyane