Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-635

Access application version information from JS.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.7.0
    • None
    • cordova-js
    • Notably iOS/Android.

    Description

      It seems that every platform offers the ability to define an application version. iOS and Android offer string and numeric fields. They are versionName and versionCode on Android.

      My request is to add the ability to access this app version info using Javascript. Perhaps adding an "app" namespace with app.versionName, app.versionCode and app.name...

      It would be an easy enough plugin to write, but figured it should eventually become part of the core.

      https://developer.android.com/guide/publishing/versioning.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            ladar Ladar Levison
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified