-
-
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
Android 10 clipboard not working properly #678
Comments
Thanks, this way it will resolve the problem! onWindowFocusChanged(isFocused()); I'm going to add this fix with the next commit. |
I'm newbie in flutter, and not fully understand view managment. But I see containerView, and I think this can be a solution:
|
yeah it seems good! thanks! maybe also:
|
version 5.3.2, I still facing this issue |
Currently using flutter_inappwebview: ^5.7.2+3 Please help |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue. |
Environment
Device information: Pixel 2
Description
Try run simple code and check next steps:
In this flow you will have nothing(
Check 2:
After few hours spend to research module I found a little bit "hacky" way to fix this:
in file
{FLUTTER_SDK}.pub-cache\hosted\pub.dartlang.org\flutter_inappwebview-4.0.0+4\android\src\main\java\com\pichillilorenzo\flutter_inappwebview\InAppWebView\InAppWebView.java
add
onWindowFocusChanged(true);
at rebuildActionMode() function begin:
like this:
so chrome WebView will be notified for FocusChanged and will update data from clipboard
P.S. this is fast solution and not pretty good for use, but I need working WebView, maybe someone need too |./|
The text was updated successfully, but these errors were encountered: