dpa99c commented on code in PR #250:
URL: 
https://github.com/apache/cordova-plugin-geolocation/pull/250#discussion_r997966517


##########
www/android/geolocation.js:
##########
@@ -29,7 +29,12 @@ var pluginToNativeWatchMap = {};
 
 module.exports = {
     getCurrentPosition: function (success, error, args) {
-        var win = function () {
+        var win = function (deviceApiLevel) {
+            // Workaround for bug specific to API 31 where requesting 
`enableHighAccuracy: false` results in TIMEOUT error.
+            if (deviceApiLevel === 31) {

Review Comment:
   This is a bug specific to API 31 (<31 there was no distinguishing approx vs 
precise location, >=32 it has been fixed) - see above PR description for details



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to