flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Tynjala <joshtynj...@gmail.com>
Subject Re: Accessing app bundle_id or package_id at runtime
Date Mon, 28 Aug 2017 23:08:11 GMT
Could your branding process be improved to also modify the -app.xml file
that's inside the IPA? Then you could use the suggested approach.

- Josh

On Aug 28, 2017 3:46 PM, "Erik J. Thomas" <erik@linqto.com> wrote:

Hey OmPrakash:

Thanks for responding, this approach won't work. This is static, build-time
data. Our branding process takes the IPA, unzips it, changes the bundle_id
in Info.plist, changes app name, and lots of other stuff. Then it zips back
up and signs with certs and publishes to iTunes Connect.

Reading app descriptor is reading the original bundle_id from compile time.

Thanks though.


On Aug 28, 2017, at 11:51 AM, OmPrakash Muppirala <bigosmallm@gmail.com>

Have you tried this?

On Mon, Aug 28, 2017 at 11:36 AM, Erik J. Thomas <erik@linqto.com> 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
> "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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message