docs-maui icon indicating copy to clipboard operation
docs-maui copied to clipboard

Background geolocation

Open jmvildoza opened this issue 1 year ago • 3 comments

Type of issue

Missing information

Description

[Enter feedback here] This article doesn’t explain nor provide code to deal with newer versions of Android that don’t let you track the user in the background, even if you try to run a foreground service.

Page URL

https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/device/geolocation?tabs=android

Content source URL

https://github.com/dotnet/docs-maui/blob/main/docs/platform-integration/device/geolocation.md

Document Version Independent Id

88e0c605-3e8e-3b61-7e9e-a31b482f3274

Article author

davidbritch

jmvildoza avatar Oct 20 '23 08:10 jmvildoza

~This might be covered by https://github.com/dotnet/docs-maui/issues/1288 (coming in .NET 8).~

davidbritch avatar Oct 20 '23 14:10 davidbritch

Hi! It looks like .NET 8 was released. I am wondering if they already fixed this issue.

jmvildoza avatar Dec 23 '23 22:12 jmvildoza

Hi @jmvildoza

Afraid not. AFAIK, it's not something that needs fixing per se. Rather it's missing functionality. But it is possible to do this by writing your own .NET Android code to do this.

davidbritch avatar Dec 27 '23 10:12 davidbritch