codepath / codepath/android_guides

Can't get the location update even after the requesting for new one

Open
#349 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
28.3k
Forks
6.2k
PR merge metrics
No merged PRs in 30d

Description

Hello

I have an app and I need the location update in my app after every five minutes of interval. and I switched recently from LocationManager to FusedLocation API, so the app can continue to get location updates while in the background with foreground service. but on some point of time, the application will not update the current location and sends me the last location latlong, which is wrong and sends the same latlong till one hour.

As after one hour, we started moving it will start pushing newer locations which are right.

So my query is "Is there something happen so that we are not getting the new location if we are not moving."?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.