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:
https://ionicframework.com/docs/native/is-debug/
This looks for values set when building in “debug” mode (which is the opposite of --release
).
1 Like