Contextcompat.Checkselfpermission . NET Standar 2.0

Asked

Viewed 31 times

1

I’m racking my brain and looking for a code example that asks for permission to some feature (camera, GPS), and everyone I meet makes use of Contextcompat.Checkselfpermission, but the Xamarin.Support.Compat package is incompatible with . NET Standard 2.0.

Does anyone have any tips on how to request Runtime permissions in this case?

Even the following link article seems to me to use this package.

Att.

Leonardo Freitag

1 answer

0

I was able to understand the process.

It was enough to build the code in Mainactivity.Cs and things worked out.

Here is an interesting link for anyone trying to understand this issue of the permissions for Runtime access.

https://www.youtube.com/watch?v=Uzpy3qdYXmE

It is in English, but within the context it is very easy to keep up.

Att.

Leonardo Freitag

Browser other questions tagged

You are not signed in. Login or sign up in order to post.