I am using android studios emulator (pixel3 XL) to get current location. I have enabled highest location accuracy and that takes a while 50 seconds+ to get the current location, however on a physical device it takes a couple seconds. Is there any way to improve the time for this on the emulator? I have tried using the lowest accuracy but that does not return the location.
Code:
location = await Location.getCurrentPositionAsync({ accuracy: Location.Accuracy.Highest, timeInterval: 10000, });