Last active
April 12, 2016 12:24
-
-
Save saumya/9638603 to your computer and use it in GitHub Desktop.
Cordova 3.4, iOS project creation and enabling all the plugins. Its the plugman way. First download the Archieve and unzip the native platform (iOS, Android, whihever you want), in this case we focus on iOS. Then follow the commands below.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ref: | |
1. http://cordova.apache.org/docs/en/3.4.0/guide_platforms_ios_tools.md.html#iOS%20Command-line%20Tools | |
2. http://cordova.apache.org/docs/en/3.4.0/plugin_ref_plugman.md.html#Using%20Plugman%20to%20Manage%20Plugins | |
=================================================================== | |
//From inside the project package | |
./create path/to/preoject/folder com.package.name ProjectName | |
=================================================================== | |
//From inside the Cordova project folder | |
====================================================================================== | |
plugman install --platform ios --project . --plugin org.apache.cordova.battery-status | |
plugman install --platform ios --project . --plugin org.apache.cordova.camera | |
plugman install --platform ios --project . --plugin org.apache.cordova.console | |
plugman install --platform ios --project . --plugin org.apache.cordova.contacts | |
plugman install --platform ios --project . --plugin org.apache.cordova.device | |
plugman install --platform ios --project . --plugin org.apache.cordova.device-motion | |
plugman install --platform ios --project . --plugin org.apache.cordova.device-orientation | |
plugman install --platform ios --project . --plugin org.apache.cordova.dialogs | |
plugman install --platform ios --project . --plugin org.apache.cordova.file | |
plugman install --platform ios --project . --plugin org.apache.cordova.file-transfer | |
plugman install --platform ios --project . --plugin org.apache.cordova.geolocation | |
plugman install --platform ios --project . --plugin org.apache.cordova.globalization | |
plugman install --platform ios --project . --plugin org.apache.cordova.inappbrowser | |
plugman install --platform ios --project . --plugin org.apache.cordova.media | |
plugman install --platform ios --project . --plugin org.apache.cordova.media-capture | |
plugman install --platform ios --project . --plugin org.apache.cordova.network-information | |
plugman install --platform ios --project . --plugin org.apache.cordova.splashscreen | |
plugman install --platform ios --project . --plugin org.apache.cordova.vibration | |
====================================================================================== | |
//From anywhere in the system | |
====================================================================================== | |
plugman install --platform ios --project /path/to/cordova/project/folder --plugin org.apache.cordova.battery-status | |
plugman install --platform ios --project /path/to/cordova/project/folder --plugin org.apache.cordova.camera | |
plugman install --platform ios --project /path/to/cordova/project/folder --plugin org.apache.cordova.console | |
plugman install --platform ios --project /path/to/cordova/project/folder --plugin org.apache.cordova.contacts | |
plugman install --platform ios --project /path/to/cordova/project/folder --plugin org.apache.cordova.device | |
plugman install --platform ios --project /path/to/cordova/project/folder --plugin org.apache.cordova.device-motion | |
plugman install --platform ios --project /path/to/cordova/project/folder --plugin org.apache.cordova.device-orientation | |
plugman install --platform ios --project /path/to/cordova/project/folder --plugin org.apache.cordova.dialogs | |
plugman install --platform ios --project /path/to/cordova/project/folder --plugin org.apache.cordova.file | |
plugman install --platform ios --project /path/to/cordova/project/folder --plugin org.apache.cordova.file-transfer | |
plugman install --platform ios --project /path/to/cordova/project/folder --plugin org.apache.cordova.geolocation | |
plugman install --platform ios --project /path/to/cordova/project/folder --plugin org.apache.cordova.globalization | |
plugman install --platform ios --project /path/to/cordova/project/folder --plugin org.apache.cordova.inappbrowser | |
plugman install --platform ios --project /path/to/cordova/project/folder --plugin org.apache.cordova.media | |
plugman install --platform ios --project /path/to/cordova/project/folder --plugin org.apache.cordova.media-capture | |
plugman install --platform ios --project /path/to/cordova/project/folder --plugin org.apache.cordova.network-information | |
plugman install --platform ios --project /path/to/cordova/project/folder --plugin org.apache.cordova.splashscreen | |
plugman install --platform ios --project /path/to/cordova/project/folder --plugin org.apache.cordova.vibration | |
====================================================================================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Plugin install is updated to
plugman install --platform android --project . --plugin cordova-plugin-console
from previously used
plugman install --platform android --project . --plugin org.apache.cordova.console
The change is in the last part, how the plugin is referred.