Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D28C8CEF9 for ; Mon, 7 May 2012 18:37:12 +0000 (UTC) Received: (qmail 71699 invoked by uid 500); 7 May 2012 18:37:12 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 71644 invoked by uid 500); 7 May 2012 18:37:12 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 71626 invoked by uid 99); 7 May 2012 18:37:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 18:37:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 18:37:10 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 27CF1437585 for ; Mon, 7 May 2012 18:36:49 +0000 (UTC) Date: Mon, 7 May 2012 18:36:49 +0000 (UTC) From: "Drew Walters (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <131625382.35713.1336415809173.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1162841144.23534.1336075368789.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CB-635) Access application version information from JS. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269856#comment-13269856 ] Drew Walters commented on CB-635: --------------------------------- For BlackBerry WebWorks, can be retrieved with JS API: {code:javascript} blackberry.app.version {code} > Access application version information from JS. > ----------------------------------------------- > > Key: CB-635 > URL: https://issues.apache.org/jira/browse/CB-635 > Project: Apache Cordova > Issue Type: New Feature > Components: CordovaJS > Affects Versions: 1.7.0 > Environment: Notably iOS/Android. > Reporter: Ladar Levison > Assignee: Filip Maj > Labels: api-change, javascript, platform > Original Estimate: 4h > Remaining Estimate: 4h > > 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 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira