[
https://issues.apache.org/jira/browse/CB-6357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Grieve resolved CB-6357.
-------------------------------
Resolution: Fixed
> platform check should install each platform to determine if they're
> functional and their version number
> -------------------------------------------------------------------------------------------------------
>
> Key: CB-6357
> URL: https://issues.apache.org/jira/browse/CB-6357
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.5.0
> Reporter: Josh Soref
> Assignee: Josh Soref
>
> Currently `cordova platform check` has a few behaviors which are not
> necessarily ideal:
> 1. It relies on the platforms.js file to have valid versions which match what
> is actually in the cached ~/.cordova/lib space.
> 2. If a platform is installed for which there's a newer version which won't
> install (e.g. you're on Windows and you have iOS installed), it could tell
> you that there's an upgrade available, however, you won't be able to install
> it.
> We'd like to fix these limitations by having platform check actually run the
> version script against a live project. This should mean that there will not
> be any false positives: what you see is what you really could get.
--
This message was sent by Atlassian JIRA
(v6.2#6252)