Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 30EC6200CF1 for ; Mon, 28 Aug 2017 20:52:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2F58916568D; Mon, 28 Aug 2017 18:52:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7C80616568A for ; Mon, 28 Aug 2017 20:52:26 +0200 (CEST) Received: (qmail 41873 invoked by uid 500); 28 Aug 2017 18:52:23 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 41861 invoked by uid 99); 28 Aug 2017 18:52:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Aug 2017 18:52:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 05734CAB57 for ; Mon, 28 Aug 2017 18:52:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.129 X-Spam-Level: ** X-Spam-Status: No, score=2.129 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id oa2VpE3XyLmP for ; Mon, 28 Aug 2017 18:52:22 +0000 (UTC) Received: from mail-qk0-f173.google.com (mail-qk0-f173.google.com [209.85.220.173]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 1A6405FDA1 for ; Mon, 28 Aug 2017 18:52:22 +0000 (UTC) Received: by mail-qk0-f173.google.com with SMTP id p67so6247895qkd.2 for ; Mon, 28 Aug 2017 11:52:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=cgkkDZiL6E5hjoEHDNV0MyuayemqPXx3xAl6gyBKhwQ=; b=XO1qaYI06zCq0hi/nCOYQn1G9Wdt5cpYKAXV95MWVqP4/rN5LNlPQ+LN225u9esHzX vMtSCX5wNkckU4N4eSMY9WIPbQkGTc0kPsn71yF69YQAnfYFQlhx58qky+nPN6dBqKgC LfV3saP8hIZnt61JiCxxLG++057XDiFzkHHDx1Obee1xROQzyXQKW2OnKUx5+sNa2j+l muWkOWHjhmRH0sY5OyDaS99XnGqVtecvyq7IEvlTwknmnhA2rVR+PTukNpmQgjWrT6np myvnKGE+OSK2HG8j0ycBv9iF84pUxZJUsGOylGzPPGYUpuw5+OZV07AzF58GtjiVHgAw lt2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=cgkkDZiL6E5hjoEHDNV0MyuayemqPXx3xAl6gyBKhwQ=; b=JC0zlnQVRT+5S2vyzL/cWvYxCEleMsbAHWQEKNS7HXYCqabsS4cw9nJLQKea44S07y vKSni9UDilkdWl+b8HbSaMEIIOeI3eZUOeFA7k/Ca+4HzeYqTSZxjBNFgfxeKFcG7vNV XAWpL1j4inbdRYj4zBwe0IoxjZB196myRg6HNgykS+cXW45M3BC/qElEXv8TJbNn+WJH X5+f/d2h/wOFxXOMICUWJyJUG61frWZh41EMBJS2TOZa0Hm/cfyCkvU847t7B02ftOgO ghWsaMA+UpVICL4Lj3h7Ah7rOqwHlAWRikEC2KOId6Dv26UKGUst5Xy80/p7UC4Zpeqe byzQ== X-Gm-Message-State: AHYfb5gC6ck4Oy0c5KKGWWll6LWV3x1m+p8xYN3/Y7mPfBxJ2NLPOJAa 5WLVbysz7Q/utnMqKJgj+JkUEx6+po5s X-Received: by 10.55.125.71 with SMTP id y68mr2062347qkc.193.1503946341503; Mon, 28 Aug 2017 11:52:21 -0700 (PDT) MIME-Version: 1.0 Sender: omuppi1@gmail.com Received: by 10.200.42.88 with HTTP; Mon, 28 Aug 2017 11:51:51 -0700 (PDT) In-Reply-To: References: From: OmPrakash Muppirala Date: Mon, 28 Aug 2017 11:51:51 -0700 X-Google-Sender-Auth: 883dZKQdX_tLLGzSUNT-M3NJNzI Message-ID: Subject: Re: Accessing app bundle_id or package_id at runtime To: "users@flex.apache.org" Cc: Jared Reed Content-Type: multipart/alternative; boundary="94eb2c05ad3472594f0557d4cbd2" archived-at: Mon, 28 Aug 2017 18:52:27 -0000 --94eb2c05ad3472594f0557d4cbd2 Content-Type: text/plain; charset="UTF-8" Have you tried this? http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118676a5e5e-7fff.html On Mon, Aug 28, 2017 at 11:36 AM, Erik J. Thomas wrote: > Hey all: > > Is there a simple way to access a Flex mobile app's bundle/package ids at > runtime? Of course I can write the code to parse Info.plist and manifest > files on iOS and Android to get them, but it seems there must be a built-in > "Flex" way that some great Apache engineer anticipated someone would need. > > I have an unusual scenario in that we "brand" existing APK and IPA files > by changing their bundle ids and by modifying the packages (IPA and APK > files) and re signing them without compiling the app. The App doesn't have > any idea what it's bundle/package id is at runtime and we need that to hit > an authentication server API. > > I've poked around the docs and searched the web and am coming up empty > handed. Just hoped I could save some time. > > Thanks! > > Erik > > --94eb2c05ad3472594f0557d4cbd2--