question

Rajat avatar image
0 Votes"
Rajat asked JarvanZhang-MSFT answered

How to show location permission screen for application using Xamarin forms

i am using Xamarin forms and want to open following Location permission page of my app. It would be great help if someone can suggest I need this screen in both #IOS & #Android using #xamarinforms. Thanks in adavnce.

![133912-image.png][1]


dotnet-xamarinforms
image.png (42.3 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JarvanZhang-MSFT avatar image
0 Votes"
JarvanZhang-MSFT answered JarvanZhang-MSFT edited

Hello Rajat,​

Welcome to our Microsoft Q&A platform!

The page as the picture shown will only be presented when you request the permission for the application. We cannot open the page manaually. After adding the permissions/keys to the configuration file, this dialog will be presented to the user the first time they run the app or when you request the permissions.

Here are the related docs, you could refer to it:
https://developer.apple.com/design/human-interface-guidelines/ios/app-architecture/accessing-user-data/
https://docs.microsoft.com/en-us/xamarin/android/app-fundamentals/permissions?tabs=windows#runtime-permission-checks-in-android-60

Best Regards,

Jarvan Zhang


If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.