I have some questions about getting the version of application developed on top of libgdx (and also on robovm for ios)
I want to get the version information
- That is declared in
android:versionName
tag ofAndroidManifest.xml
for Android - That is declared in
app.version
key ofrobovm.properties
for IOS. (Which, I believe, is eventually replaced for value ofCFBundleShortVersionString
key inInfo.plist.xml
)
My first question is, does libgdx provide a platform independent method for getting app version? (I could not find any)
If not I found an answer to get app version on android, that's OK. Found same answer for IOS but in a native way. How can I do same thing using robovm backend?