breautek commented on issue #273: URL: https://github.com/apache/cordova-plugin-geolocation/issues/273#issuecomment-1944345550
> const coordinates = await capacitorgeolocation.getCurrentPosition({ enableHighAccuracy: false, }); right now my code before i did not added any option (not working in 12) then i added that option still not working Sounds like you're hitting the android bug that I linked earlier. I think the only known workaround is to request high accuracy location (which translates to FINE location natively). e.g. ``` const coordinates = await capacitorgeolocation.getCurrentPosition({ enableHighAccuracy: true, }); ``` If you don't actually need FINE location, then perhaps it might be worth only enabling it on Android 12 devices. I believe this issue only applies to Android 12 when high accuracy isn't enabled. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org