Closed leszko11 closed 4 years ago
@leszko11
How about separate location workers?
How this PR solves fetch user location as often & precise as it possible in background modes
? I see that this worker is not initialized anywhere also.
We talk about triggering location fetch on background fetch - this is also missing.
@pmieszal
- How about separate location workers?
- LocationSignificantChangesWorker - mainly for background tracking, stored in AppDelegate.
- LocationUpdatesWorker - for most accurate tracking when app is in foreground.
- How this PR solves
fetch user location as often & precise as it possible in background modes
? I see that this worker is not initialized anywhere also.- We talk about triggering location fetch on background fetch - this is also missing.
Maybe we can observe foreground/background notifications, and switch tracking options inside LocationManager
?
But it's ready to use 😎
I'm not really sure how you want to perform it? How about splitting it to separate issues?
@pmieszal
- How about separate location workers?
- LocationSignificantChangesWorker - mainly for background tracking, stored in AppDelegate.
- LocationUpdatesWorker - for most accurate tracking when app is in foreground.
- How this PR solves
fetch user location as often & precise as it possible in background modes
? I see that this worker is not initialized anywhere also.- We talk about triggering location fetch on background fetch - this is also missing.
- Maybe we can observe foreground/background notifications, and switch tracking options inside
LocationManager
?- But it's ready to use 😎
- I'm not really sure how you want to perform it? How about splitting it to separate issues?
Damnit, there is no option to comment on comment? 😢
Closes #1