Open kwallis opened 10 years ago
The backend simply needs to do:
cordova platform check
The output will be of the form:
blackberry10 @ 3.2.0 could be updated to: 3.4.0
the first "word" (\S+) is the platform name. Everything else is more or less irrelevant for the purposes of offering an update button.
To update a platform:
cordova platform $PLATFORM update
I'm not going to implement the Confirmation dialog. It's unlikely that a user would accidentally hit this, and it's unlikely that updating would actually be harmful.
Users probably should be encouraged to use version control if they're really concerned...
Tied to internal Jira CLI issue: https://jira.bbqnx.net/browse/BRWSR-15167
Acceptance Criteria