How to get the application version at runtime?

Hi,

I’m trying to get the application version at runtime so I can display it on the screen. The version should be the number that I’ve written in the Build for iOS dialog under “Version”. Is there a way to use the Corona SDK to access this value?

system.getInfo(“version”) will give me the Corona version, not the application version

Thanks!

-Aaron [import]uid: 122310 topic_id: 21990 reply_id: 321990[/import]

I’m not sure of a way to access this directly. However, you could always make a variable for this inside your app, and then just increment it with each release. Then you can check this value against a text file on your server, display it, etc. [import]uid: 87138 topic_id: 21990 reply_id: 87409[/import]

Revaerie is correct :slight_smile: [import]uid: 52491 topic_id: 21990 reply_id: 87434[/import]