• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Check Android/iOS app ID?

Contributor ,
Jul 16, 2014 Jul 16, 2014

Copy link to clipboard

Copied

I am using the same codebase for the free and full versions of a game I am making and using a flag in the code to toggle between the free and full versions. Right now I'm setting the flag manually before publish but I know I'll eventually forget to change it and publish the free version in full version mode or vice-versa. Does AIR provide a method to check the application ID (e.g. com.exampledomain.myappid) at runtime so I can automate it? I've tried Googling this but I can't find a combination of search terms that gives me relevant results, and I have no idea where to look in the AIR library.

Thanks!

TOPICS
Development

Views

217

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines