dotnet / docs-maui

This repository contains documentation for .NET Multi-platform App UI (MAUI).
https://docs.microsoft.com/dotnet/maui
Creative Commons Attribution 4.0 International
227 stars 200 forks source link

Background geolocation #1811

Open jmvildoza opened 1 year ago

jmvildoza commented 1 year ago

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

davidbritch commented 1 year ago

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

jmvildoza commented 10 months ago

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

davidbritch commented 10 months ago

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.