Forum Xamarin.Forms

How to check user has permission to access contacts?

JohnHardmanJohnHardman GBUniversity mod
edited January 2017 in Xamarin.Forms

I am going through my code ensuring that I check the user has the appropriate permissions before performing actions. Wherever possible, I am using James Montemagno's Permissions plugin for this, but it doesn't seem to handle all situations.

On UWP, how can I check that the user/app has access to Contacts?

In the Windows 10 Settings (see attached screenshot) there is a switch for "Let apps access my contacts" (circled in blue), but then also a switch per app (circled in red). I want the permission check to take both of these into account, rather than just the first one.

Sign In or Register to comment.