HI all,
A minor annoyance I have is maintaining two version codes, one in the build.yml and one in my app/application.rb.
I would like to display the app version number in a view, is there a way to display the value that is set in the build.yml for the version.
Any help will be much appreciated !
Regards,
Marcus Atkins
2 Replies
Hi Marcus,
To my knowledge, there is no way to display the value from build.yml
You can use Rhoconfig variable if set the version value in rhoconfig file.
Visnupriya R
Kutir Mobility
To get the version from build.yml use:
http://docs.rhomobile.com/en/4.1.0/api/Application#pversion
Ruby: Rho::Application.version