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

Feature Request - expose a method to display the binary version of the app #45

Open
seme1 opened this issue Jul 7, 2018 · 1 comment

Comments

@seme1
Copy link

seme1 commented Jul 7, 2018

Add the ability to obtain the current build version even when no update is available.
This can perhaps be implemented by modifying getCurrentPackage to return an actual object containing the appVersion instead of null. Another option is to expose it through any new API.

https://docs.microsoft.com/en-us/appcenter/distribution/codepush/cordova#codepushgetcurrentpackage

The purpose of this request is to allow users to always view the version number of the currently installed app. This can be easily implemented by combining the app binary version along with the update label (managed by codepush).

@Zakeelm
Copy link
Contributor

Zakeelm commented Jul 9, 2018

Hey there!

Thanks for the feature request. Our getCurrentPackage was made to retrieve metadata about the currently installed "package", which means even when no update is available you shouldn't be getting null if there has been a CodePush release (in most cases, there are a few exceptions). Can you elaborate on why this would be a valuable feature for you a little more, especially if there hasn't been a CodePush release?

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

No branches or pull requests

3 participants