apache/cordova

Geolocation getCurrentPosition is not working in some Android 12 devices

mhnimje opened this issue · 1 comments

Bug Report

Problem

  1. Use Geolocation getCurrentPosition method - https://cordova.apache.org/docs/en/1.8.1/cordova/geolocation/geolocation.getCurrentPosition.html
  2. Add options - enableHighAccuracy: true,
    maximumAge: xxxxx,
    timeout: xxxxx
  3. It gives error after timeout. Even after setting large timeout it still gives error
  4. Till yesterday it was working fine
  5. Issue is happening on variety of devices having Android 12

What is expected to happen?

What does actually happen?

Geolocation getCurrentPosition is not working in some Android 12 devices giving timeout issue

Information

Command or Code

Environment, Platform, Device

Android 12

Version information

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above