Comment on page
Mock Location
Appetize supports simulating device location for running and testing location-based applications easily.
To specify the device location, include the
location
query parameter in your app or embed URL, followed by the latitude and longitude values e.g.&location=-33.924434,18.418391
Set the location of the device via our JavaScript SDK
Specify the location by passing in a number array in format
[latitude, longitude]
e.g.await client.config({
location: [-33.924434, 18.418391],
...
})
Specify the location by passing in the number parameters
latitude
and longitude
e.g.await setLocation(-33.924434, 18.418391)
Last modified 1mo ago