Problem When the app I am testing is launched, the app looks up the IP of the current user to detect the country of origin. Depending on the country, an URL to the backend is changed. I want to be able to emulate any region in my test.
What I want to do I would like to be able to send something to the application on startup, such as an environment variable or a launch argument that then can be handled inside the application.
After some googling I found this: http://nshipster.com/launch-arguments-and-environment-variables/
But I am unable to find if it is possible to send these variables when launching the app through Appium.
Any ideas?