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!