Is that possible allow user to select the server type on runtime before login the application. For example once user install the app, launch the app and display the login screen and then user shake the device 3 times and display the selection screen to select the server type (prod, dev or test env). while selecting the server type and click the save option then it has to select the corresponding server url (either prod, dev or test env.) and again display the login screen (consider user select the test env on selection screen). Finally user has to connect to test env and he has to able to login successfully.
We can implement shake device functionality, no issues in that and my main question is, is that possible to select the server (build flavor) on runtime?
Regards Mindus