I'm trying to fetch accurate location data for our android app and experiencing strange behavior of Location API (both old LocationListener API and new Fused Location API).
I'm getting location changes for a certain amount of time (half a minute from the app start) trying to get the most accurate data available in this time interval.
In case of LocationListener API everything is great until I use Google Maps in my Fragment. Without map location changes are frequent and accuracy is good, but when Map is shown, location frequency and accuracy are strongly affected.
setMyLocationEnabled(boolean) is set to false;
In case of Fused API I'm getting 10m accuracy inside any building, that's very weird too.
Btw I can't use latest versions of Google Play Services because of backward compatibility with other parts of the app.
Thanks in advance for any assistance.