Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the device location is not turned on when I granted the permission in .net maui #2247

Open
7875Vijay opened this issue May 8, 2024 · 1 comment
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

Comments

@7875Vijay
Copy link

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

  • ID: 88e0c605-3e8e-3b61-7e9e-a31b482f3274
  • Service: dotnet-mobile
  • Sub-service: dotnet-maui
@davidbritch
Copy link
Contributor

Hi @7875Vijay

Try the sample the doc links to, to see if you experience the same issue.

@davidbritch davidbritch added the needs-more-info Needs more info from OP. Auto-closed after 2 weeks if no response. [org] label May 30, 2024
@dotnet-bot dotnet-bot removed the ⌚ Not Triaged Not triaged label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants