Skip to content
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
@KSemenenko

Description

@KSemenenko

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions