Skip to main content
Transform your testing process with: Real Device Features, Company-wide Licences, & App Percy
No Result Found

Simulate GPS geolocation

GPS geolocation testing enables you to simulate the location of the device to specific GPS coordinates to test location-based scenarios for your app.

To specify the GPS coordinates, set the gpsLocation parameter in the builds REST API and start the Flutter test execution. You are required to pass the latitude and longitude of the desired location.

Parameter Description Value
gpsLocation Simulate the location of the device to a specific GPS location. Latitude followed by longitude
The acceptable range for latitude is -90 to +90 and for longitude is -180 to +180.
Example: 40.730610,-73.935242

Example cURL request for test execution:

Terminal
Copy icon Copy

Once you start the Flutter test execution, you can access the test execution results on the App Automate dashboard.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle