A tool for creating hybrid apps using a combination of ember-cli and cordova
requires at least ember-cli >= 0.1.1
I will not be focusing on backward compatibility with older ember-cli versions as it's moving too fast and the API is constantly changing. I will always have this working with the latest stable release of ember-cli.
To provide a toolchain tightly integrated with ember-cli to make developing hybrid apps with cordova and ember as simple as possible.
Android and iOS. While we don't plan on actively supporting other platforms, feel free to open an issue or submit a pull request.
Please see our Getting Started guide here
ember g cordova-init com.reverse.domain --platform=androidRequired generator that sets up the cordova project with a few tweaks to the ember app
ember g cordova-starter-kitAdds some packages and files that makes up the base setup for projects I develop.
ember cordova:openopen xcode project
ember cordova:build --environment=production --platform=iosbuild cordova project
ember cordova:archive 0.0.2 --environment=staging --commit --tagarchive ios project with xcode
ember cordova:prepareneeds to be run after cloning a project
ember cordovaPasses commands(plugin(s), platform(s), run, emulate) and arguments to the cordova command
ember helpember cli help with a section for addon provided commands as well
Documentation can be found found in the docs directory here.
git clone https://github.com/poetic/ember-cli-cordova.gitcd ember-cli-cordovanpm i && bower inpm linkember new CordovaTestcd CordovaTestnpm install --save-dev ember-cli-cordovanpm link ember-cli-cordova
After this, any changes you make to the cloned repo will be instantly reflected in the test app you generated. It just symlinks the node_modules folder.
You can find an example app using this here: jakecraige/ember-cli-cordova-example-app