-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
App crashes when using website TextInputField in InAppWebview #643
Comments
I have the exact same issues. Please help how to solve these. This is what I get in. my Firebase-Console: |
Having the same problem on Samsung S10+, Android 11, OneUI 3.0. Stacktrace as below
|
This is fixed with version 5.0.0 using the new Android-specific option This option requires Flutter v1.20+ and should only be used on Android 10+ for release apps, as animations will drop frames on < Android 10 (see Hybrid-Composition#performance). This is not a limitation of this plugin but on how Flutter manages PlatformViews on Android unfortunately. |
It is already published as a prerelease! |
How about the old version, I'm still using version 4.0.0, is there a way to enable hybrid composition without upgrading to flutter 2 ? |
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. |
textSelectionHandle
(no tools shown)onCanceled
(keyboard stays unfold)saveFormData
(AndroidInAppWebviewOption
does not trigger)Hey, your package is really good and very helpful.
But I noticed an issue on every Android device I tested (Emulators with Android 11 and real phones with Android 11 and 8.0):
The text input on more than one website does not work with the
InAppWebview.
As I mentioned in the to-do's ahead there are no text selection handle tools on double tap on the entered text. I can change the selected part, but copy, paste and cut is not possible. After entering something also the keyboard is stuck and can not be folded by pressing the Android keyboard down arrow. After mutiple presses on the entered text the app crashes caused by the webview.
In addition to that the
InAppWebview
does not trigger theAndroidInAppWebviewOption
saveFormData
in the specifed fields. Maybe caused by the same problem from above?The webview package from the official Flutter team supports the Android text selcetion tools, but its fuctions are too less! I also use your
ChromeSafariBrowser
andHeadlessInAppWebview
and be very happy with them.The text was updated successfully, but these errors were encountered: