Output if `--release` or normal build inside app?

Is there a way to figure out if the app running in a --release or normal dev build inside the app and output this in for example a settings page?

Yes, there is:

This looks for values set when building in “debug” mode (which is the opposite of --release).

1 Like