All commands follow the pattern ember cordova:{command}
. You can use the cdv
alias
insted ofcordova
, for example ember cdv:{command}
.
You can pass a command to cordova without ember-cordova interference with ember cdv build, vs. ember cdv:build.
- ember cdv:open
- ember cdv:build
- ember cdv:link
- ember cdv:prepare
- ember cdv:serve
- ember cordova
Open the native platform project with the default or specified application
- platform (default:ios)
- application (default:system default application)
ember cordova:open
ember cordova:open --platform=android --application=eclipse
Build the ember and cordova project together running in the simulator or on a device
- environment (default:development)
- platform (default:ios)
ember cordova:build
ember cordova:build --environment=production --platform=ios
Symlinks your dist/ to Cordovas www. You generally won't need to run this, as build will do this for you.
ember cordova:link
Handles running prepare, but will also fire the beforePrepare/afterPrepare hooks.
ember cordova:prepare
Runs the Ember Server for live reload. To learn more, read here.
- platform (default:ios)
- reloadUrl (default:localhost:4200)
ember cdv:serve
ember cordova:serve --platform=android --reloadUrl=192.168.1.1
Passes commands straight to cordova, without interference.
ember cordova platform add ios