When we ship a mobile app for our clients, we always follow the practice of displaying the version number in it.
With RhoMobile development, we use to hardcode it initially but we now have a decent way to show it directly from the RhoMobile config file (build.yml)
Lets see how we can do that in RhoMobile app (iOS, Android and Windows Mobile).
The first step is to specify the version in build.yml as shown below
Now make use of the below API’s to display the version.
For example, you can say
App Version: <%= Rho::Application.version %>
that will display the version in About us page like
Hope, it will help to you to avoid multiple edit for version changes.