Seems easy to do on android and probably belongs in navigator.app.version since app is our own non-W3C extension.
Simon On Monday, May 7, 2012, Filip Maj wrote: > Stems from https://issues.apache.org/jira/browse/CB-635 > > TL;DR: providing a JS API in cordova for accessing the application version > as defined in native. Shaz has already commented on how to do this in iOS. > In Android I understand the manifest versionCode / versionString > properties are available (and should be accessible). > > First question: is this a valuable API? IMO: yes. Programmatically > accessing app version for issue resolution and stuff like that seems like > a good thing. > > Second question: How viable is this for Bada / WP7 / BB WebWorks / other > platforms? > > Third question (assuming Q1 response is "yes"): how to frame this API? > > Thoughts/comments/suggestions appreciated! > > -- Simon Mac Donald http://hi.im/simonmacdonald
