Skip to content

[webview_flutter] not working choose color #42902

@deandreamatias

Description

@deandreamatias

When pressed on HTML element <input type="color">, app crash in Android and anything happends in iOS

Steps to Reproduce

  1. Open a app with webview_flutter
  2. Load a url with a element <input type="color"> html
  3. Press in element and nothing or crash happends.

Target Platform: Andorid and iOS (iPhone and iPad)
Target OS version/browser: sdk 28 v9 and sdk23 v6.0.1 / iOS 13.1.3 and iOS 12.4.2
Devices: Samsung Tab A 2018, BQ Aquarius E5, iPad 7th and iPhone 6

Logs

flutter run --verbose


[  +45 ms] W/a.com.example.de(15357): 0xebadde09 skipped times: 0
[   +3 ms] F/libc    (15357): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x34 in tid 15357 (a.com.example.dev), pid 15357 (a.com.example.dev)
[ +158 ms] *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
[        ] Build fingerprint: 'samsung/gta2xlwifixx/gta2xlwifi:9/PPR1.180610.011/T590XXU3BSG3:user/release-keys'
[        ] Revision: '5'
[        ] ABI: 'arm'
[        ] pid: 15357, tid: 15357, name: a.com.example.dev  >>> com.com.example.dev <<<
[   +1 ms] signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x34
[        ] Cause: null pointer dereference
[        ]     r0  c743e800  r1  ff37474f  r2  d5bb52a5  r3  eb023bf4
[        ]     r4  ff37474f  r5  ffdd6588  r6  00000000  r7  eb1e6480
[        ]     r8  ffdd6580  r9  ffdd6598  r10 c7e19c90  r11 ffdd67b8
[        ]     ip  00000065  sp  ffdd6520  lr  d7aff0c3  pc  d5bb52ac
[        ] backtrace:
[        ]     #00 pc 00c122ac  /data/app/com.android.chrome-ScKQoQEPbPi7tfy5IVJ1bg==/base.apk (offset 0xbd4000)
[+1396 ms] Service protocol connection closed.
[   +2 ms] Lost connection to device.
[   +7 ms] DevFS: Deleting filesystem on the device (file:///data/user/0/com.com.example.dev/code_cache/web-appLJGPET/web-app/)
[   +2 ms] Sending to VM service: _deleteDevFS({fsName: web-app})
[ +255 ms] Ignored error while cleaning up DevFS: TimeoutException after 0:00:00.250000: Future not completed

flutter doctor -v

[√] Flutter (Channel stable, v1.9.1+hotfix.4, on Microsoft Windows [Version 10.0.18362.418], locale es-ES)
    • Flutter version 1.9.1+hotfix.4 at C:\src\flutter
    • Framework revision cc949a8e8b (3 weeks ago), 2019-09-27 15:04:59 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\Matias\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    X Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions.

[√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 40.2.2
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] VS Code (version 1.39.2)
    • VS Code at C:\Users\Matias\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.5.1

[√] Connected device (1 available)
    • SM T590 • b17a9aa9 • android-arm • Android 9 (API 28)

Update

Searching about the problem in ios, I found this stackoverflow question, but in documentation link say otherwise
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: crashStack traces logged to the consolefound in release: 1.20Found to occur in 1.20has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: webviewThe WebView pluginp: webview-keyboardKeyboard issues with flutter_webview pluginpackageflutter/packages repository. See also p: labels.platform-views: vdIssues specific to the Android VirtualDisplay platform views backend

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions