breautek commented on issue #273: URL: https://github.com/apache/cordova-plugin-geolocation/issues/273#issuecomment-2130535161
> @breautek I running into the same issue and was wondering if the Android 12 bug affects all cordova builds with cordova Android 12.0.1 platforms? My users are experiencing the same problem with Samsung S22 Android 14 UI version 6.1. I believe so, https://issues.chromium.org/issues/40205003 isn't fully addressed yet it seems. Cordova doesn't actually have an implementation of geolocation for android. It relies on the system webview implementation. So it affects all cordova platforms. It sounds like there is a fix available but you would be relying on users to update their devices, and sometimes carriers don't deliver AOSP updates, which unfortunately means users will be stuck on a bugged version. > The underlying bug in Android ([b/208263743](https://issues.chromium.org/issues/208263743)) is supposed to be fixed in the QPR1 update for Android 12, which most devices would have received around the end of 2021, but it's unfortunately not guaranteed that all Android 12 devices will have gotten that update in practice. All Android 13 and later devices will have the fix, though. > > So, if you're seeing problems specifically with some Android 12 devices and not other versions then probably those devices just haven't gotten the update. If you're seeing issues on other versions as well then this may need further investigation. The ticket is still open, I think they are looking to find a solution in the system webview since it got migrated. If they patch a workaround in the webview then that update should make it to all users receiving updates from Google Play Store. Another potential workaround is using a plugin that implements native geolocation APIs. Don't really know of any that I can vouch for but I'd imagine most native implementations would generally make use of Google's Fuse location APIs, which will tie your app to Google Play services, e.g. your app will only work on Google-enabled devices. -- 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