Dear friends,
On some Android devices that have an application that uses GPS developed in ThunkableX, the following error is occurring:
location provider is unavailable. make sure that location services are enabled
All location services are properly enabled.
EnableHighAccuracy = True
Some devices work normally.
How to solve?
Thank you in advance for your help!
1 Like
tatiang
September 29, 2021, 10:24pm
2
If location services are enabled, make sure you’re not getting the location too often. If you have the location sensor in a timer or loop, that may be causing the problem. How do you have it set up?
1 Like
muneer
September 29, 2021, 10:57pm
3
Check this link. EnableHighAccuracy setting is version dependent.
Hi there,
Unfortunately, this seems to be an issue with Expo, who provide the framework we use to build apps.
You can see discussion of this behavior on Expo’s Github here .
Thunkable team member Jose has deployed a partial fix.
Depending on your version of Android, you may need to set EnableHighAccuracy to false for Location Sensor to work as expected on your device. I use Android 11 and I don’t need to do this, but Jose reports needing to do this for Location Sensor to work on A…