android / codelab-while-in-use-location

Codelab:
https://github.com/googlecodelabs/while-in-use-location
Apache License 2.0
81 stars 51 forks source link

Wearable – removeTask on ForegroundOnlyLocationService always getting - ("Failed to remove Location Callback.") #30

Open glaucomp opened 2 years ago

glaucomp commented 2 years ago

Step 1.6, Unsubscribe to location changes.

task.isSuccessful (ForegroundOnlyLocationService line )- is always FALSE. I’m not able to take my location. When I ran on my phone it wasn’t working also but I opened GoogleMaps and Calibrate my GPS It started to work. But my wearable device doesn’t support GMS.

Is there any way to get low GPS signal or something like that?