Skip to content

BlazorCurrentDevice throws error Cannot invoke JavaScript outside of a WebView context. #7

Description

@mariashahid

Hi,

I am using BlazorCurrentDevice in a .NET MAUI Blazor Hybrid project and where I am trying to use BlazorCurrentDevice, it throws the following error

[mono-rt] [ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidOperationException: Cannot invoke JavaScript outside of a WebView context.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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