the device location is not turned on when I granted the permission in .net maui #2247
Labels
dotnet-maui/subsvc
dotnet-mobile/svc
needs-more-info
Needs more info from OP. Auto-closed after 2 weeks if no response. [org]
Pri1
High priority, do before Pri2 and Pri3
Type of issue
Code doesn't work
Description
[Enter feedback here]
var locationStatus = await Permissions.RequestAsync<Permissions.LocationAlways>(); if (locationStatus == PermissionStatus.Granted) { return true; }
Page URL
https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/device/geolocation?view=net-maui-8.0&tabs=windows
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
Metadata
The text was updated successfully, but these errors were encountered: