Cordova prepare v1.0.0

The option to run cordova platform add <platform> was removed. These commands are not suited to be run on a CI environment, and should be ran during development. Instead, cordova prepare <platform> is called, which restores cordova platforms and plugins.

Migration guide

If platform rm or add is needed to be run during the build, add a script step before the cordova-prepare step for this functionality.

Moving from v0 to v1:

  1. If using cordova-archive step, update it to version 2.
  2. Make sure to remove the input parameter readd_platform.

This topic was automatically closed after 90 days. New replies are no longer allowed.