Typically an application will have a test and a production environment, however additional environments can be created according to project requirements.
Environments are configured by defining a prioritised, comma-separated list. The configuration item pref_enviroment_list can be viewed in the app settings screen.
For example: pref_environment_list=Environment1, Environment2, Environment3
The mobile app will attempt to log in to each environment in sequence, until a login is successful.