Accessing app bundle_id or package_id at runtime

2017-08-28 Thread Erik J. Thomas
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

Re: Accessing app bundle_id or package_id at runtime

2017-08-28 Thread vincent
Bonjour, En congés jusqu'au 4 septembre, je prendrais connaissance de votre message à mon retour. Cordialement, Vincent/AFTER24

Re: Accessing app bundle_id or package_id at runtime

2017-08-28 Thread OmPrakash Muppirala
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 th

Re: Accessing app bundle_id or package_id at runtime

2017-08-28 Thread OmPrakash Muppirala
Never mind, that is for desktop apps, not mobile apps. I'm guessing manually parsing those files you mentioned is probably the only way. On Mon, Aug 28, 2017 at 11:51 AM, OmPrakash Muppirala wrote: > Have you tried this? > http://help.adobe.com/en_US/AIR/1.5/devappshtml/ > WS5b3ccc516d4fbf351e6

Re: Accessing app bundle_id or package_id at runtime

2017-08-28 Thread Josh Tynjala
I'm pretty sure that NativeApplication.nativeApplication.applicationDescriptor is accessible on mobile too. - Josh On Mon, Aug 28, 2017 at 12:07 PM, OmPrakash Muppirala wrote: > Never mind, that is for desktop apps, not mobile apps. I'm guessing > manually parsing those files you mentioned is

Re: Accessing app bundle_id or package_id at runtime

2017-08-28 Thread Erik J. Thomas
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 Conne

Re: Accessing app bundle_id or package_id at runtime

2017-08-28 Thread Josh Tynjala
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" wrote: Hey OmPrakash: Thanks for responding, this approach won't work. This is static, build-time data. Ou

Re: Accessing app bundle_id or package_id at runtime

2017-08-28 Thread Erik J. Thomas
Hi Josh, thanks for your input. But no, there is not an app.xml in the IPA or APK outside of the binary file within the package. The app descriptor file is compiled into the AIR executable within the IPA/APK package. It's not accessible in the enclosing package (zip) file. I'll just parse Info

Re: Accessing app bundle_id or package_id at runtime

2017-08-28 Thread Weber Jan
@flex.apache.org Cc: Jared Reed Betreff: Re: Accessing app bundle_id or package_id at runtime Hi Josh, thanks for your input. But no, there is not an app.xml in the IPA or APK outside of the binary file within the package. The app descriptor file is compiled into the AIR executable within the IPA/APK

Re: Accessing app bundle_id or package_id at runtime

2017-08-29 Thread Erik J. Thomas
. -Ursprüngliche Nachricht- Von: Erik J. Thomas [mailto:e...@linqto.com] Gesendet: Dienstag, 29. August 2017 04:33 An: users@flex.apache.org Cc: Jared Reed Betreff: Re: Accessing app bundle_id or package_id at runtime Hi Josh, thanks for your input. But no, there is not an app.xml in the IPA or

Re: Re: Accessing app bundle_id or package_id at runtime

2017-08-28 Thread vincent
Bonjour, En congés jusqu'au 4 septembre, je prendrais connaissance de votre message à mon retour. Cordialement, Vincent/AFTER24