grunt-angular-phonegap icon indicating copy to clipboard operation
grunt-angular-phonegap copied to clipboard

Write a complete guide

Open dsimard opened this issue 11 years ago • 2 comments

Write a guide from first step to last with screenshots.

dsimard avatar Dec 17 '13 00:12 dsimard

Here are the rough steps for it :

  1. install node with nvm
  2. install the android sdk (with the infamous adb problem :#9)
  3. install grunt-angular-phonegap
  4. install a plugin (as an example)
  5. deploy on phonegap build

dsimard avatar Jan 02 '14 21:01 dsimard

@dsimard can you please explain how to add a phonegap plugin?

Added this into Gruntfile.js, when I grunt phonegap:build or grunt phonegap:send and look at https://build.phonegap.com/apps/MY_PHONEGAP_APPID/plugins it says "This application has no plugins".

  grunt.initConfig({

    phonegap: {
      config: {
        root: 'www',
        config: 'www/config.xml',
        cordova: '.cordova',
        path: 'phonegap',
        plugins: [
          'plugins/org.apache.cordova.camera', 'https://git-wip-us.apache.org/repos/asf/cordova-plugin-camera.git'
        ],
        platforms: ['android'],
        verbose: false
      }
    },

image

Pascalmh avatar Feb 20 '14 13:02 Pascalmh