xamarin / Essentials

Xamarin.Essentials is no longer supported. Migrate your apps to .NET MAUI, which includes Maui.Essentials.
https://aka.ms/xamarin-upgrade
Other
1.53k stars 505 forks source link

[Bug] Checking any permission on Android crashes app #2046

Closed dzebas closed 1 year ago

dzebas commented 1 year ago

Description

When checking permissions with Permissions.CheckStatusAsync on Android app crashes.

Steps to Reproduce

  1. Create blank multiplatform app
  2. Add: var status = await Permissions.CheckStatusAsync(); // any permission crashes not just camera
  3. Run the app, crash

Expected Behavior

Should check permissions and not crash

Basic Information

dzebas commented 1 year ago

Nevermind, somehow permission was removed from manifest file which causes app to crash when checking that permission.