-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Blazor MAUI - Clipboard Android - NotAllowedError: Write permission denied #6846
Comments
@wizd thanks for contacting us. It's very likely that you need to grant permissions to the webview to be able to copy things to the clipboard. Blazor Hybrid exposes the underlying webview configuration for different platforms through a couple of events in Blazor Webview:
These events are exposed by the BlazorWebview control and you can use the preferred patterns on each platform to attach an event handler and make any necessary tweaks. |
@guardrex can we find a place to document how to configure the underlying webview platform? Essentially, somewhere in the docs to put this comment:
|
@wizd let us know if you still have issues after this. |
Hi @wizd. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Closing as this has already been documented here: https://docs.microsoft.com/en-us/aspnet/core/blazor/hybrid/?view=aspnetcore-6.0#-configuration |
Description
When try to set clipboard, error popup.
Steps to Reproduce
@code {
[Parameter] public string Text { get; set; }
}
in js:
Version with bug
Release Candidate 2 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 12
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: