Skip to content

PermissionRequested event not firing #1

@NSouth

Description

@NSouth

First of all, thanks for this repo. Trying to get a camera feed working has been tough!
I attempted to incorporate your code into my project. I am able to debug and confirm that the following line is running in my MainPage.xaml.Windows.cs. However, the handler never gets invoked and the web debug console reports a permission denied error.

        e.WebView.CoreWebView2.PermissionRequested += permissionHandler.OnPermissionRequested;

If I query or the state of my permission, I get "denied."

navigator.permissions.query({name: "camera"});

Do you think I could be in the "stuck" state you mentioned from my fumbling around before finding your solution? If so, do you have any idea how to clear this denial decision in my debug browser?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions