Skip to content
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.

Javascript method to get the name of the current version #170

Merged
merged 1 commit into from
Aug 30, 2016
Merged

Javascript method to get the name of the current version #170

merged 1 commit into from
Aug 30, 2016

Conversation

Manduro
Copy link
Contributor

@Manduro Manduro commented Jun 22, 2016

This is useful for displaying or debugging the version which the app is runnning.

I'm also using it to do a custom update check with the remote chcp.json.

@pablomaurer
Copy link
Contributor

pablomaurer commented Jun 22, 2016

Wow, very cool! To imporve it even more, idea is to return the buildVersion and AppVersion number.

@nikDemyankov
Copy link
Member

Nice, thanks!

@nikDemyankov nikDemyankov added this to the v1.5.0 milestone Jul 6, 2016
@cordovapolymer
Copy link

great! Just wanted to request this feature

@nikDemyankov nikDemyankov merged commit f5cacec into nordnet:master Aug 30, 2016
@nikDemyankov
Copy link
Member

nikDemyankov commented Aug 30, 2016

Merged PR. Based on it implemented method getVersionInfo, which returns all versions, that you might need, including currentVersion.

Released in v1.5.0. For documentation, please, visit https://github.com/nordnet/cordova-hot-code-push/wiki/Get-version-information.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants