Open ricardopereira opened 1 year ago
I have a similar problem in my react native app. I use IOS simulator with maestro.
Inside the app i use @react-native-community/geolocation
to retrive user location with getCurrentPosition
method.
It always returns me an error saying "Unable to retrieve location."
.
I have checked that user granted permission before asking for location.
Also tried setting the location using setLocation, and this doesn't seem to work properly
I have the same issue with the Flutter application. When I tried to run the app I could give the permission but could not retrieve any location data.
Maestro Cli 1.33.1 Xcode 15 iOS 16.4
Same issue here, any solution?
+1 Still having this issue on my react native app - any solutions?
No 😞 I'm still having trouble setting different locations while running Maestro.
I've been experiencing an issue with the
launchApp
command in Maestro UI Tests tool, which leads to a malfunction in the iOS simulator's ability to obtain its current location.Steps to reproduce:
Additional observations:
I tried both manually setting the location and using the
setLocation
command from Maestro (setLocation reference), but the issue persisted.It seems that there might be an underlying issue with how the
launchApp
command or possibly theidb-companion
interacts with the simulator's location services.Expected behavior
launchApp
command not interfering with the ability to retrieve current location in the iOS simulator and, in consequence, be able to set different locations while running tests.Environment information (please complete the following information):
Bugreport output
Attachments
Thank you for looking into this ❤️