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 D514F9346 for ; Mon, 7 May 2012 18:18:57 +0000 (UTC) Received: (qmail 20321 invoked by uid 500); 7 May 2012 18:18:57 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 20288 invoked by uid 500); 7 May 2012 18:18:57 -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 20280 invoked by uid 99); 7 May 2012 18:18:57 -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:18:57 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fil@adobe.com designates 64.18.1.187 as permitted sender) Received: from [64.18.1.187] (HELO exprod6og104.obsmtp.com) (64.18.1.187) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 18:18:47 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob104.postini.com ([64.18.5.12]) with SMTP ID DSNKT6gR8ujyw7FMv2FYFK9waq6hIalbHpbU@postini.com; Mon, 07 May 2012 11:18:27 PDT Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q47IGFJ0006440 for ; Mon, 7 May 2012 11:16:15 -0700 (PDT) Received: from nahub01.corp.adobe.com (nahub01.corp.adobe.com [10.8.189.97]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q47IDAwD009799 for ; Mon, 7 May 2012 11:18:24 -0700 (PDT) Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nahub01.corp.adobe.com ([10.8.189.97]) with mapi; Mon, 7 May 2012 11:17:56 -0700 From: Filip Maj To: "callback-dev@incubator.apache.org" Date: Mon, 7 May 2012 11:21:10 -0700 Subject: API addition: application version Thread-Topic: API addition: application version Thread-Index: Ac0sfbmkCZ4neR1qTKa7Vs+jw/FRCg== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.0.120402 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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!