poetic/ember-cli-cordova

Setting `platform: 'android'` in config/environment.js doesn't default me to android builds

Closed this issue · 2 comments

Not sure if this behavior is expected or not, but given that i have the following block in my config/environment.js:

cordova: {
  rebuildOnChange: false,
  emulate: false,
  platform: 'android'
}

When I run ember cordova:build, it still tries to build an iOS app unless I explicitly pass the --platform android flag. Should setting the platform here change that default? If not, what does the platform setting affect?

dukex commented

@adamesque I push a pull request about it #167