I have some code blocks that I would like to ignore when my project is run from Monaca Preview or Debug - what is the correct way to either know this from an existing value or pass in a value on my command line that can be read in my code.
Posts made by dwaxman
Passing in a param that can be read in code at run time
Use Monaca Version in ios app
I am using Monaca Cloud IDE to build an ios (and android) app. In the App Build Settings > App Settings there is a required field of Version Number. I would like to display this number in my apps splash screen and an About screen in the app. Is this number accessible as a variable from within the app? If so how would I reference it?