Currently, I work with three different environnements :
I use an array with all three environnements in it and depending on where I want the build to be available, i just switch my environnement variable with the index of the array I want.
In order not to modify data in production, I use this array to modify the color of an element in my UI and then it feels a lot safer.
Yes, but in any case, you can’t really do this inside the app, because the user could see wrong data, unless you have a “hidden” service in your app that allows you to switch environnement.
For instance you could check a sequence of swipe events on a particular element that the user could never find.