Please provide the following:
- SDK Version: 36
- Platforms(Android/iOS/web/all): Android
Location.getProviderStatusAsync returns the following object:
{
“backgroundModeEnabled”: true,
“gpsAvailable”: true,
“locationServicesEnabled”: true,
“networkAvailable”: true,
“passiveAvailable”: true,
}
But Location.getCurrentPositionAsync right after returns the following error:
Error: Location provider is unavailable. Make sure that location services are enabled.
How do I get the location service to work with Expo on Android (the API calls work fine on iOS)?
Thank you.
Hemant