# Cordova prepare v1.0.0

**URL:** <https://discuss.bitrise.io/t/cordova-prepare-v1-0-0/7363>\
**Category:** Changelog\
**Created:** [December 14, 2018, 12:38pm UTC](https://discuss.bitrise.io/t/cordova-prepare-v1-0-0/7363 "2018-12-14T12:38:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [December 14, 2018, 12:38pm UTC](https://discuss.bitrise.io/t/cordova-prepare-v1-0-0/7363/1 "2018-12-14T12:38:39Z")

</div>

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_.

> **[bitrise-community/steps-cordova-prepare](https://github.com/bitrise-community/steps-cordova-prepare/releases/1.0.0)**
>
> Contribute to bitrise-community/steps-cordova-prepare development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [March 14, 2019, 12:38pm UTC](https://discuss.bitrise.io/t/cordova-prepare-v1-0-0/7363/2 "2019-03-14T12:38:50Z")

</div>

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