Instruct testers to set device location via GPS for both Android and iOS devices. This will make the testers appear to be from a specific location. 

Here you will find information on and suggested step instructions to help start utilizing location services for mobile testing.

iOS GPS Services

Special Notes

  • For both iOS longitude and latitude settings, unicode and alphabetical characters are invalid.
  • Coordinates with a North or East designation should be entered with just numerical coordinates. Ex:  “37.7749° N” and/or “37.7749° E” would translate to “37.7749.”
  • Coordinates with a South/West Designation should have their numerical coordinates entered with a ‘-’ before the numeric coordinates. Ex: “122.4194° S” or “122.4194° W” would translate to “-122.4194.”

Step Instructions

Step A: In the operating system's top navigation bar, click on “Debug”

  • Did a menu appear with “Location” listed as the last option?

Step B: Click on “Location” and then “Custom Location” from sub menu that appears

  • Did a modal titled “Custom Location” appear?

Step C: Enter Latitude: “{{example_latitude}}” and Longitude: “{{example_longitude}}” then click “OK”

  • Did the "Custom Location" modal disappear?

Android GPS Services

Special Notes

  • Android Phone Landscape does not have the app navigation bar, so Mobile GPS services is not available for this orientation at the moment.
  • If you would like to test Mobile GPS service on landscape, please select Android Tablet Landscape as an alternative.
  • Coordinates with a North/East designation should be entered with just numerical coordinates. Ex:  “37.7749° N” and/or “37.7749° E” would translate to “37.7749.”
  • Coordinates with a South/West Designation should have their numerical coordinates entered with a ‘-’ before the numeric coordinates. Ex: “122.4194° S” or “122.4194° W” would translate to “-122.4194.”

Step Instructions

Step A: In the Android navigation bar, click the circular icon between the left pointing triangle and square icons. (shareable screenshot). On the Android Home Screen, click the circle icon with 6 dots inside it and from there click the Fake GPS app

  • Did you arrive at screen with a modal with “OPEN SETTINGS”  in the bottom right corner?

Step B: Click OPEN SETTINGS and in the next screen click “Select mock location app”. From the modal that appears. Click on the “Fake GPS” Icon. (screenshot)

  • Does the text immediately below “Select mock location app” now read “Mock location app: Fake GPS”?

Step F: Click the left pointing triangle icon in the device navigation bar and then click the hamburger icon in the top left corner and from the menu that appears click Go to.

  • Did a modal appear prompting you to enter a latitude and longitude?

Step G: Enter Latitude: {{sample_location.coordinateA}}” and longitude: {{sample_location.coordinateB}} in the modal that appears. Then click “Ok”.

  • Did the modal disappear and the the map change to a different location?

Step H: Click the green button with a right-pointing triangle in the bottom right of the screen.

  • Do you see a satellite icon appear in the top left hand corner of the terminal screen?

If you have questions about Mobile GPS services, please reach out to our support team at support@rainforestapp.com!

Did this answer your question?