Android Location Provider #27533
Unanswered
dharamhbtik
asked this question in
General
Replies: 1 comment
-
Honestly Gelocation API isn't designed for intensive use of GPS. We ended up copying a part of the code and rewrite it to our needs to be efficient (1 gps location per 1-2second) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We are using Location in our app extensively. From the code of the MAUI we can see that only GPS And Network provide is selected which slow compare to fused location provider.
Is there anything special here to skip the fused location provider or I am missing something from the code?
I was checking this file from the source code.
https://github.com/dotnet/maui/blob/main/src/Essentials/src/Geolocation/Geolocation.android.cs
IN Xamarin forms version we were using platform specific implementation where first we were checking for the Fused then network and then GPS and it was fast compared to the MAUI built in cross platform location service.
Below is the MAUI Code
Beta Was this translation helpful? Give feedback.
All reactions