Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 547 Bytes

setlocation.md

File metadata and controls

17 lines (13 loc) · 547 Bytes

setLocation

setLocation command applies a mock geolocation to the device:

- setLocation:
    latitude: 52.3599976
    longitude: 4.8830301

{% hint style="warning" %} Note that this does not update the location of the emulator/simulator when running in Maestro Cloud so if your backend/app relies on IP location, this will still be set to the default location which is US {% endhint %}

{% hint style="info" %} Note that for Android, this only works on API level 31 or above. Support for lower levels is coming soon! {% endhint %}