How to grant permission in Application class Xamarin.Android?

123 Views Asked by At

I want to grant camera permission for the application using my Application class in my Xamarin.Android project. But I cannot call

ActivityCompat.RequestPermissions(this, _mPerms, 1);

within my Application class since this should be an Activity. So how should I call this method?

0

There are 0 best solutions below