You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would like to include logic to test for the latest version if the app came from the store, but if the app is running on a debug build, or is distributed for testing via app center/testflight, we don't want to do the store version check.
The text was updated successfully, but these errors were encountered:
@charlesroddie in visual studio look up conditional compilation symbols, you find it in the project properties under Build, there I use during debug "ENV_TEST" and on production build "ENV_PROD", then you can in your code make sections that will only be compiled based on which build you are using, that way you can ommit the store check with debug builds.
#if ENV_TEST
// Test code.
#elif ENV_PROD
// Production code.
#endif
How can we know if the app came from the store?
We would like to include logic to test for the latest version if the app came from the store, but if the app is running on a debug build, or is distributed for testing via app center/testflight, we don't want to do the store version check.
The text was updated successfully, but these errors were encountered: