
trying to detect a movement change and log it, idk y it isnt working
tested it with 5km run, did not detect, the lat and long that i am printing also didnt change
trying to detect a movement change and log it, idk y it isnt working
tested it with 5km run, did not detect, the lat and long that i am printing also didnt change
This isn't the solution, but for sure is an error:
And this:
There is also a nice explanation/tutorial on location sensor here:
To get location changed events while your app is in the background you need background location permission
The locationservice extension is able to do it
Taifun
You probably cam use a Foreground service. A background service might not be needed. I suspect the LS changed response will work while an app using a LS is in the Forerground.
You should be able to get location changed events while your app is in the Foreground.
i will try to integrate this with the itto background tasks extension
thanks, i will check out the tutorial
ya i saw this but i didnt understand the background extension they used, i will use itoo to run this in the foreground