Hello,
Le 09/05/2016 à 10:15, Margaret Leibovic a écrit :
Hi friends,
Can anyone help me understand the difference between MOZ_APP_VERSION
and MOZ_APP_VERSION_DISPLAY?
I see that in our AndroidManifest, we use MOZ_APP_VERSION to set our
Android version name [1]. However, this means that for beta, we
display the number version, without the "b" bit, e.g. "47.0". Looking
at about:firefox [2], for example, I see that we use the
MOZ_APP_VERSION_NAME property to display a number that includes the
beta version, e.g. "47.0b2". It actually seems like beta is the only
channel where version.txt [3] and version_display.txt [4] differ. Why
is that?
MOZ_APP_VERSION contains only the major version.
I introduced MOZ_APP_VERSION_DISPLAY for several reasons:
* to have the number of beta installs in telemetry (buildid are more
complex to use)
* show it in about:support
* show it in the about dialog
This is only different in beta because it is the only place where we
have different versions on the same release channel.
(nightly is XXa1, aurora YYa2, etc)
Hope this helps,
Sylvestre
_______________________________________________
mobile-firefox-dev mailing list
mobile-firefox-dev@mozilla.org
https://mail.mozilla.org/listinfo/mobile-firefox-dev