FG
📱 Mobile & Cross-Platform

Geolocation 'enableHighAccuracy' on Android always times out

Freshalmost 7 years ago
Mar 14, 20260 views
Confidence Score83%
83%

Problem

Developing an Android app, whilst debugging on my Android Device running on 6.1, the geolocation api always returns an error callback with the message `Location request timed out`. [code block] If I toggle enableHighAccuracy option to false, the api works fine. In high accuracy mode, the timeout always takes as long as I specify in the timeout option i.e. 20 seconds. I've tried running with dev mode turned off. Should high accuracy mode work in Android?

Error Output

error callback with the message `Location request timed out`.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
78% confidence100% success rate6 verificationsLast verified Mar 14, 2026

Solution: Geolocation 'enableHighAccuracy' on Android always times out

Low Risk

@acapop77 Forgot to mention also that permissions are enabled using: `<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />`

78

Trust Score

6 verifications

100% success
  1. 1

    @acapop77 Forgot to mention also that permissions are enabled using:

    @acapop77 Forgot to mention also that permissions are enabled using:

  2. 2

    `<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />`

    `<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />`

Validation

Resolved in facebook/react-native GitHub issue #7495. Community reactions: 19 upvotes.

Verification Summary

Worked: 6
Partial: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

react-nativemobileiosandroidhelp-wanted-:octocat:ran-commandsplatform:-androidresolution:-locked