https://kotlinlang.org logo
Title
r

Rooparsh

02/06/2022, 7:20 AM
Hi, Recently I have been trying Maps Compose https://twitter.com/i_am_rooparsh/status/1489892409534480386?s=21 Today, I noticed some strange behaviour in Maps. As per my emulator location spoofing, my location was supposed to be between 2 towns (Ludhiana and Patiala) which lie in India. But on maps, My location was shown somewhere in United States. On Further digging, I found that the issue was with latitude and longitude returned from Location class in gms package. Attaching a screen recording, wherein you can see lat and long that are in emulator and that my app is receiving. Not sure where the issue is .
o

Oleksandr Balan

02/06/2022, 8:16 AM
It could be an emulator issue, similar as https://issuetracker.google.com/issues/217320703 Did you try another API level?
:thank-you: 1
r

Rooparsh

02/06/2022, 8:36 AM
Tried with android 10 image, it's working fine. I guess it's an issue with Android S image.
👍 1