cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <>
Subject [jira] [Resolved] (CB-2643) App version values in JavaScript
Date Thu, 18 Jul 2013 21:58:49 GMT


Filip Maj resolved CB-2643.

    Resolution: Won't Fix
      Assignee: Filip Maj

This API will not be exposed via JS.

You can update your app name and javascript using the cordova-cli tools and updating the values
in config.xml. Since this document exists in your www/ directory, you can then XHR the contents
of the config.xml to grab the proper version attribute or name element contents.
> App version values in JavaScript
> --------------------------------
>                 Key: CB-2643
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>            Reporter: Jan Veleck√Ĺ
>            Assignee: Filip Maj
>            Priority: Minor
> Please, add Javascript constant with app version name and app version code (or build
in iOS). It's irritating if i must set this both at the IDE and at the JavaScript file to
determine version of app that user actually have.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message