Taking so long and on some API not returning location on only Android
HI, on iOS there is no problems. But on Android it takes over 15 seconds to get current location. Also, API28 not even returning location info. Any workaround? Thank you
The same problem, it takes about 30-40 seconds on API 27. In older device (Android ~5) it works much faster.
Out of interest if it's slow, and you force it not to use the fusedprovider, is it any better ? Eg
Geolocator geolocator = Geolocator()..forceAndroidLocationManager = true;
Out of interest if it's slow, and you force it not to use the fusedprovider, is it any better ? Eg
Geolocator geolocator = Geolocator()..forceAndroidLocationManager = true;
With this it's not working at all, just infinite awaiting of location.
.forceAndroidLocationManager = true; fixed it for me. On emulator, I don't have the physical device yet.
I have had one user who have reported an issue with it never getting a GPS fix. I've given them the ability to also use forceAndroidLocationManager, but this doesn't resolve the issue. They are using a Samsung Galaxy Core Prime which even the user admitted was an old phone. Any ways around this?
Most issues with locations not being fetched are solved in version 6.0.0. However certain phones did not implement the Android specifications correctly and will keep on returning location information slow. An excellent troubleshooting guide can be found here: #507