StephenBlackWasAlreadyTaken / xDrip

Android Application that collects dex signals, allows calibrations, and uploads
GNU General Public License v3.0
208 stars 176 forks source link

"Location Is Not Enabled" even when enabled/granted permissions #208

Closed jack-margeson closed 6 years ago

jack-margeson commented 6 years ago

Build - xDrip-plus-20180114-95fcdbc (nightly build 1/14/2018) Android 7.1.1 (Nougat), MOTO E4 DEXCOM G5

Hello. I would like to use xDrip to connect to my sisters Dexcom G5 device so that she may monitor her numbers from her mobile devices. But, I am having problems with the bluetooth features of the xDrip app. Whenever the app is launched, a prompt appears to ask me to enable the location ("Location Is Not Enabled"). However, the app has full permissions under the app menu of my device - and location is already turned on. This is preventing me from using the bluetooth devices list so that I may connect to her devices. Thank you.

ailuirazal commented 6 years ago

Hello,

I'm having the same issue as Jack, the only difference is that my new phone is a MOTO E5. Below are my specs: Moto E5 Plus 4G/LTE Android 8.0.0 (Oreo), DEXCOM G5 Nightscout version of xDrip+ https://jamorham.github.io/#xdrip-plus

I keep getting the error "Location is not enabled" in xDrip+ even tough it is (in App-level permissions/Location permissions -> xDrip + app has the check mark, checked).

Any suggestions on how to fix it, are welcomed! Thanks. Julia

ailuirazal commented 6 years ago

I've solved the error "Location is not enabled" in xDrip+ by going in the phone Settings->Security & Location -> Location -> Mode where I've selected High Accuracy and not Battery savings. And I stopped getting that error in xDrip + app.

afcady commented 5 years ago

I still get the error with the location mode "high accuracy."

Otterinaround commented 5 years ago

I also have this error. (Recently installed Tmobile's android update) I may get 4 readings at best before xdrip requests location permission(which it already has) switching the permission of and back on gets me a few readings but then the error starts up again! Quite frustrating...and also with night time lows, VERY DANGEROUS.

rgcstats commented 5 years ago

I get this issue too. My location mode is high accuracy. I'm using a Samsung A5 with Lineage OS.

lkpod commented 4 years ago

I'm having this issue as well with a Pixel 2 running Android 10.

Davud2020 commented 4 years ago

I get the same issue with my Samsung G. A5 2017. I think we have to close power saver modes.

tkalfaoglu commented 3 years ago

I don't understand why this program needs high accuracy gps data anyway.. or even why it needs location data.. Yes I have now set it to high accuracy but still getting the same scan error: location services needs to be enabled on android 6.0+ update: rebooted phone after enabling the high accuracy gps, and the problem went away. phew!

jlecount commented 2 years ago

I had this also although all location services were enabled. What I did to fix was:

Now, i don't know which of these is significant, but i was previously getting "On Android 6.0+ location permission is required. Implement Runtime Permissions com.policies.rv.androidble2.exceptions.BleScanException: Location Permission missing (code 3)" and now I am not.

I can confirm that all my settings were "right" when i toggled them off and on but something about doing so has resolved this for me also.

PH4NTOMiki commented 1 year ago

I'm having issues with this too