Highlighted

Check Android/iOS app ID?

Participant ,
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

159

Likes

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

Check Android/iOS app ID?

Participant ,
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

160

Likes

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
Jul 16, 2014 0

Have something to add?

Join the conversation