Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mariashahid opened this issue Aug 5, 2024 · 0 comments

Comments

@mariashahid
Copy link

mariashahid commented Aug 5, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant