I am currently trying to test an app on the android that is built around location functions. I am running into an issue with the map and location specifically.
The test I am writing is to load the activity with a GoogleMap view, set a location of my choice, and verify that this location is show on the map. The code is programmed to react to location changes.
Problem one: I cannot set location on a real device. I may have read online that it cannot be done on a device that is not rooted and would prefer not to do this.
Problem two: When I run the app on the emulator, the map does not show and I see a gray square in its place. The map does show on a real device however. The app doesn't crash when I try to set location but I cannot detect any change with no map to look at.
Could I have confirmation that problem one cannot be resolved on an unrooted device, and a solution to why problem two is an issue?