This repository was archived by the owner on May 15, 2024. It is now read-only.
This repository was archived by the owner on May 15, 2024. It is now read-only.
[Bug] UWP - Permissions.CheckStatusAsync #1129
Closed
Description
Description
I trying to check permission:
var camera = await Permissions.CheckStatusAsync<Permissions.Camera>();
and get exeption - "Object reference not set to an instance of an object."
at Xamarin.Essentials.Permissions.BasePlatformPermission.EnsureDeclared()
at Xamarin.Essentials.Permissions.BasePlatformPermission.CheckStatusAsync()
at Xamarin.Essentials.Permissions.CheckStatusAsync[TPermission]()
I was trying other permissions and results is the same
Xamarin.Essentials 1.4.0Xamarin.Essentials 1.5.0