FG
๐Ÿ“ฑ Mobile & Cross-PlatformExpo

Location: "Location provider is unavailable. Make sure that location services are enabled."

Freshover 6 years ago
Mar 14, 20260 views
Confidence Score77%
77%

Problem

๐Ÿ› Bug Report Environment Expo CLI 2.19.5 environment info: System: OS: macOS High Sierra 10.13.6 Shell: 3.2.57 - /bin/bash Binaries: Node: 10.15.1 - /usr/local/bin/node Yarn: 1.13.0 - /usr/local/bin/yarn npm: 6.4.1 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman IDEs: Android Studio: 3.1 AI-173.4670197 Xcode: 10.1/10B61 - /usr/bin/xcodebuild npmPackages: expo: ^34.0.1 => 34.0.3 react: 16.8.3 => 16.8.3 react-native: https://github.com/expo/react-native/archive/sdk-34.0.0.tar.gz => 0.59.8 react-navigation: ^3.11.1 => 3.11.1 APP TARGET : ANDROID DEVICE (USING EXPO CLIENT APP). Using a VIVO Device running Android 6.0, the device has a SIM and is network enabled. Steps to Reproduce let { status } = await Permissions.askAsync(Permissions.LOCATION); if (status !== 'granted') { this.setState({ errorMessage: 'Permission to access location was denied', }); console.log("no permission"); } else{ console.log("working on location"); let location = await Location.getCurrentPositionAsync({enableHighAccuracy:false}); console.log('latitude is ' + location.coords.latitude.toString()) console.log('longitude is ' + location.coords.longitude.toString()) } Expected Behavior The location services should provide me with GPS coordinates. Actual Behav

Error Output

error is produced : 

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
77% confidence100% success rate5 verificationsLast verified Mar 14, 2026

Solution: Location: "Location provider is unavailable. Make sure that location services are enabled."

Low Risk

Please, try call `getPositionAsync` with `enableHighAccuracy` set to true and tell me if that works.

77

Trust Score

5 verifications

100% success
  1. 1

    Please, try call `getPositionAsync` with `enableHighAccuracy` set to true and te

    Please, try call `getPositionAsync` with `enableHighAccuracy` set to true and tell me if that works.

Validation

Resolved in expo/expo GitHub issue #5504. Community reactions: 12 upvotes.

Verification Summary

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

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

exporeact-nativemobileandroidbug๐Ÿ“ฆ-expo-locationoutdated