Skip to content

[webview_flutter] Keyboard language can't change on Android #41089

@owlsometech-kenyang

Description

@owlsometech-kenyang

My flutter project use webview_flutter v0.3.14+1 and there is a problem when I try to text with Chinese or other keyboard language, the original keyboard always override the correct keyboard language. As you can see below, the chinese keyboard will show and disappear quickly, and you can't even change the language from the keyboard.

This is what I get in my application:
itb8d-5o3b1

Does anyone have any idea or also struggle with the same issue here?

Thanks in advance for your help!

Logs

[✓] Flutter (Channel unknown, v1.7.8+hotfix.4, on Mac OS X 10.14.5 18F132, locale zh-Hant-TW)
    • Flutter version 1.7.8+hotfix.4 at /Users/bigstarpie/development/flutter
    • Framework revision 20e59316b8 (9 weeks ago), 2019-07-18 20:04:33 -0700
    • Engine revision fee001c93f
    • Dart version 2.4.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/bigstarpie/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.0, Build version 11A420a
    • CocoaPods version 1.7.5

[✓] iOS tools - develop for iOS devices
    • ios-deploy 1.9.4

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 39.0.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.38.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.4.1

[✓] Connected device (3 available)
    • Android SDK built for x86 • emulator-5554 • android-x86    • Android 9 (API 28) (emulator)
    • macOS                     • macOS         • darwin-x64     • Mac OS X 10.14.5 18F132
    • web                       • web           • web-javascript • Google Chrome 76.0.3809.132 


• No issues found!

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: chinaChina and its Great Firewalla: internationalizationSupporting other languages or locales. (aka i18n)a: platform-viewsEmbedding Android/iOS views in Flutter appsa: qualityA truly polished experiencea: text inputEntering text in a text field or keyboard related problemscustomer: crowdAffects or could affect many people, though not necessarily a specific customer.p: webviewThe WebView pluginp: webview-keyboardKeyboard issues with flutter_webview pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyplatform-views: vdIssues specific to the Android VirtualDisplay platform views backend

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions