Getting runtime version returns systemVars.buildVersion


If a new version of our app is available, we want to show users a button to go install it.

However, when we use systemVars.buildVersion in a formula to determine the user’s current app version, it tells us the same information that’s in systemVars.runtimeVersion.

Is it possible for systemVars.buildVersion to tell us the app’s build version, instead?

(On a related note, it would be awesome if the version shown on the build service were the app version, not the runtime version.)

Yeah I know it would be great to have the id there or even god forbid an timestamp of when the build was made. It’s been on my table for quite some time but haven’t been able to get down on it yet :cold_sweat: . I promise I’ll add it next time I make updates to the buildservice!

Ha! No need to be hard on yourself, @Sasu_Makinen. You’ve only been busy with the hundreds of sophisticated features within the builder that are making it possible for my app to work… As far as I’m concerned, you’ve prioritized correctly :slight_smile:

To circle back to the first half of the question–Should systemVars.buildVersion be showing the runtime version? Is there another way for us to access our own build version so we know whether it’s the most recent?

Sorry for not answering the first question :sweat_smile:, It’s definitely haven’t been returning buildVersion at least for some time so I put up some inquiries last friday to hear what’s going on.

1 Like

Hi @Sasu_Makinen ! Any updates on the runtime/build version issue? We will be pushing out bug fixes and new features pretty rapidly, so I’m anxious to have a means of forcing users to update.

I put it in core tests of the new runtime so it should be working there before public release :confused:.

1 Like

Thank you @Sasu_Makinen! That’s perfect.

Any updates on this front, @Sasu_Makinen ?

Were you able to implement this functionality @Erin_Wagner ?

@Mevi @Sasu_Makinen @Harri_Sarsa Can you please look into this request? Thank you

Hi! Does systemVars.buildVersion not work for you?

It wasnt in the web preview. Notify new app version and force App Update - #7 by DG_L
So, I raised the question.
I will try once in the app to confirm the feature.

Ah. If that is so that it fails in web, please submit a bug report.

No the systemVars.buildVersion comes up with the major not minor version.

Both are important however the minor version is more so, for the purpose of troubleshooting to identify a build once released to the public. At least if thats identified we can compare and advise if an update is available.

The minor version = short version / version code

----------------------------UPDATE ----------------------------

I’ve since created a feature request:

1 Like