pichillilorenzo / flutter_inappwebview

A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.
https://inappwebview.dev
Apache License 2.0
3.27k stars 1.61k forks source link

App crashing for the first time when pdf file is picked. #1490

Closed wa11breaker closed 1 month ago

wa11breaker commented 1 year ago

Environment

Technology Version
Flutter version 2.10.5 and 3.3.10
Plugin version ^5.6.0+2 and 5.7.2+3
Android version 11
iOS version nil
macOS version nil
Xcode version nil

Device information:

Description

Expected behavior: Picking Pdf file for the first time shouldn't restart the app.

Current behavior: After picking Pdf file for the first time the app is getting restarted, But file picking is working fine after the first crash and relaunching the application. This issue is happening for Redmi note 8 device with MIUI version 12.5.1 android 11.

Steps to reproduce

Code (can't share the actual url)

InAppWebView(
          initialUrlRequest: URLRequest(url: Uri.parse(url)),
          initialOptions: InAppWebViewGroupOptions(
            crossPlatform: InAppWebViewOptions(
              useShouldOverrideUrlLoading: true,
            ),
            android: AndroidInAppWebViewOptions(
              disableDefaultErrorPage: true,
              useHybridComposition: true,
            ),
          ),
        )

Stacktrace/Logcat

12-23 15:02:36.607  9549 11076 W BpBinder: PerfMonitor binderTransact :  time=432ms interface=android.location.ILocationManager code=10
12-23 15:02:38.165  9549  9841 I flutter : Reading data having key access_token
12-23 15:02:38.169  9549  9841 I flutter : Reading data having key expires_on
12-23 15:02:38.178  9549  9841 I flutter : Reading data having key access_token
12-23 15:02:43.232  9549  9841 I flutter : Haptic.lightImpact
12-23 15:02:48.848  9549  9841 I flutter : Haptic.lightImpact
12-23 15:02:48.865  9549  9841 I flutter : Reading data having key access_token
12-23 15:02:48.884  9549  9841 I flutter : Reading data having key expires_on
12-23 15:02:48.888  9549  9841 I flutter : Reading data having key access_token
12-23 15:02:49.548  9549  9549 W PlatformViewsController: Creating a virtual display of size: [1080, 2210] may result in problems(https://github.com/flutter/flutter/issues/2897).It is larger than the device screen size: [1080, 2130].
12-23 15:02:49.806  9549  9549 D EgretLoader: EgretLoader(Context context)
12-23 15:02:49.807  9549  9549 D EgretLoader: The context is not activity
12-23 15:02:49.854  9549  9549 I System.out: recordForce value 6
12-23 15:02:49.874  9549  9549 D DecorView: createDecorCaptionView windowingMode:1 mWindowMode 1 isFullscreen: true
12-23 15:02:49.912  9549  9549 W ContentCatcher: Failed to notify a WebView
12-23 15:02:51.352  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=18 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. ........ 0,0-1080,2210}
12-23 15:02:51.491  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint (unset) for first_image_paint 1.532 s
12-23 15:02:51.582  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:51.615  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:52.918  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:53.218  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:53.341  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:53.456  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:53.567  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:53.704  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:53.803  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:53.905  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:54.025  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:54.175  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:54.290  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:54.410  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:54.523  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:54.635  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:54.742  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:55.074  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:55.163  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:55.310  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:55.417  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:55.532  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:55.708  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:55.832  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:02:56.009  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:00.112  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:00.258  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:08.238  9549  9549 W cr_AwAutofillManager: Autofill is disabled: AutofillManager isn't available in given Context.
12-23 15:03:08.247  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=18 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. .F...... 0,0-1080,2210}
12-23 15:03:08.254  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:08.255  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=18 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. .F...... 0,0-1080,2210}
12-23 15:03:08.398  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:08.704  9549  9841 I flutter : init called
12-23 15:03:08.889  9549  9549 W PlatformViewsController: Creating a virtual display of size: [1080, 2159] may result in problems(https://github.com/flutter/flutter/issues/2897).It is larger than the device screen size: [1080, 2130].
12-23 15:03:08.891  9549  9549 W ContentCatcher: Failed to notify a WebView
12-23 15:03:08.894  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=18 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. ......ID 0,0-1080,2210}
12-23 15:03:08.895  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=18 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. ......ID 0,0-1080,2210}
12-23 15:03:09.184  9549  9549 D DecorView: createDecorCaptionView windowingMode:1 mWindowMode 1 isFullscreen: true
12-23 15:03:09.272  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:09.278  9549  9841 I flutter : init called
12-23 15:03:09.279  9549  9549 W ContentCatcher: Failed to notify a WebView
12-23 15:03:09.461  9549  9549 W Looper  : PerfMonitor doFrame : time=186ms vsyncFrame=0 latency=430ms procState=2 historyMsgCount=3 (msgIndex=1 wall=60ms seq=4361 running=2ms late=1ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver) (msgIndex=2 wall=383ms seq=4362 running=61ms runnable=10ms io=67ms late=57ms h=android.os.Handler c=io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0)
12-23 15:03:09.480  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=19 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. .F...... 0,0-1080,2159}
12-23 15:03:09.487  9549 10968 W IInputConnectionWrapper: getTextAfterCursor on inactive InputConnection
12-23 15:03:09.493  9549 10968 W IInputConnectionWrapper: getSelectedText on inactive InputConnection
12-23 15:03:09.503  9549 10968 W IInputConnectionWrapper: getTextBeforeCursor on inactive InputConnection
12-23 15:03:09.510  9549 10968 W IInputConnectionWrapper: getTextAfterCursor on inactive InputConnection
12-23 15:03:09.514  9549 10968 W IInputConnectionWrapper: getSelectedText on inactive InputConnection
12-23 15:03:09.560  9549 10968 W IInputConnectionWrapper: getTextBeforeCursor on inactive InputConnection
12-23 15:03:09.562  9549 10968 W IInputConnectionWrapper: getTextAfterCursor on inactive InputConnection
12-23 15:03:09.563  9549 10968 W IInputConnectionWrapper: getSelectedText on inactive InputConnection
12-23 15:03:09.602  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:09.737  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:09.950  9549  9841 I flutter : init called
12-23 15:03:10.032  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:10.118  9549  9549 W ContentCatcher: Failed to notify a WebView
12-23 15:03:10.121  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=19 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. ......ID 0,0-1080,2159}
12-23 15:03:10.121  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=19 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. ......ID 0,0-1080,2159}
12-23 15:03:10.276  9549  9549 D DecorView: createDecorCaptionView windowingMode:1 mWindowMode 1 isFullscreen: true
12-23 15:03:10.310  9549  9549 W ContentCatcher: Failed to notify a WebView
12-23 15:03:10.381  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=20 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. .F...... 0,0-1080,1509}
12-23 15:03:10.387  9549 10968 W IInputConnectionWrapper: getTextAfterCursor on inactive InputConnection
12-23 15:03:10.387  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:10.391  9549 10968 W IInputConnectionWrapper: getSelectedText on inactive InputConnection
12-23 15:03:10.437  9549 10968 W IInputConnectionWrapper: sendKeyEvent on inactive InputConnection
12-23 15:03:10.438  9549 10968 W IInputConnectionWrapper: sendKeyEvent on inactive InputConnection
12-23 15:03:10.517  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:11.218  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=20 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. .F...... 0,0-1080,1509}
12-23 15:03:11.365  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=20 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. .F...... 0,0-1080,1509}
12-23 15:03:11.423  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:11.438  9549  9549 W cr_AwAutofillManager: Autofill is disabled: AutofillManager isn't available in given Context.
12-23 15:03:11.552  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:12.510  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=20 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. .F...... 0,0-1080,1509}
12-23 15:03:12.538  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:12.609  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=20 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. .F...... 0,0-1080,1509}
12-23 15:03:12.619  9549  9549 W cr_AwAutofillManager: Autofill is disabled: AutofillManager isn't available in given Context.
12-23 15:03:12.646  9549  9728 W RenderInspector: QueueBuffer time out on Sys2030:com.northernarc.rlo.stg/com.example.norther_arc.MainActivity, count=10, avg=19 ms, max=47 ms.
12-23 15:03:12.685  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:12.790  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:12.907  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:13.664  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=20 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. .F...... 0,0-1080,1509}
12-23 15:03:13.684  9549  9549 W cr_AwAutofillManager: Autofill is disabled: AutofillManager isn't available in given Context.
12-23 15:03:13.705  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:13.854  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:13.899  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=20 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. .F...... 0,0-1080,1509}
12-23 15:03:13.916  9549  9728 W RenderInspector: QueueBuffer time out on Sys2030:com.northernarc.rlo.stg/com.example.norther_arc.MainActivity, count=5, avg=10 ms, max=25 ms.
12-23 15:03:13.959  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:14.158  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=20 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. .F...... 0,0-1080,1509}
12-23 15:03:14.231  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:15.044  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=20 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. .F...... 0,0-1080,1509}
12-23 15:03:15.044  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=20 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. .F...... 0,0-1080,1509}
12-23 15:03:15.063  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:15.186  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:15.206  9549  9728 W RenderInspector: QueueBuffer time out on com.northernarc.rlo.stg/com.example.norther_arc.MainActivity, count=1, avg=35 ms, max=35 ms.
12-23 15:03:15.207  9549  9728 W RenderInspector: DequeueBuffer time out on com.northernarc.rlo.stg/com.example.norther_arc.MainActivity, count=7, avg=18 ms, max=23 ms.
12-23 15:03:15.233  9549  9841 I flutter : init called
12-23 15:03:15.308  9549  9549 W ContentCatcher: Failed to notify a WebView
12-23 15:03:15.309  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=20 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. ......ID 0,0-1080,1509}
12-23 15:03:15.493  9549  9549 D DecorView: createDecorCaptionView windowingMode:1 mWindowMode 1 isFullscreen: true
12-23 15:03:15.531  9549  9841 I flutter : init called
12-23 15:03:15.534  9549  9549 W ContentCatcher: Failed to notify a WebView
12-23 15:03:15.626  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:15.735  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:15.743  9549  9841 I flutter : init called
12-23 15:03:15.816  9549  9549 W PlatformViewsController: Creating a virtual display of size: [1080, 2210] may result in problems(https://github.com/flutter/flutter/issues/2897).It is larger than the device screen size: [1080, 2130].
12-23 15:03:15.817  9549  9549 W ContentCatcher: Failed to notify a WebView
12-23 15:03:15.818  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=21 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. ......ID 0,0-1080,1546}
12-23 15:03:15.968  9549  9549 D DecorView: createDecorCaptionView windowingMode:1 mWindowMode 1 isFullscreen: true
12-23 15:03:16.001  9549  9549 W ContentCatcher: Failed to notify a WebView
12-23 15:03:16.074  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:16.199  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:16.915  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=22 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. .F...... 0,0-1080,2210}
12-23 15:03:16.951  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:17.068  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:18.890  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=22 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. .F...... 0,0-1080,2210}
12-23 15:03:18.933  9549  9549 I Timeline: Timeline: Activity_launch_request time:849720253
12-23 15:03:18.945  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:18.978  9549  9728 W RenderInspector: DequeueBuffer time out on Sys2030:com.northernarc.rlo.stg/com.example.norther_arc.MainActivity, count=1, avg=25 ms, max=25 ms.
12-23 15:03:19.102  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:19.512  9549  9549 E chromium: [ERROR:page_load_metrics_update_dispatcher.cc(182)] Invalid first_paint 1.625 s for first_image_paint 1.532 s
12-23 15:03:21.487  9549  9912 W cr_ChildProcessConn: onServiceDisconnected (crash or killed by oom): pid=11091 bindings:W  S
12-23 15:03:21.616  9549  9549 V InputMethodManager: b/117267690: Failed to get fallback IMM with expected displayId=22 actual IMM#displayId=0 view=com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView{5e2fb58 VFEDHVCL. .F...... 0,0-1080,2210}
12-23 15:03:21.650  9549  9549 E chromium: [ERROR:aw_browser_terminator.cc(156)] Renderer process (11091) crash detected (code -1).
12-23 15:03:21.658  9549  9549 E chromium: [ERROR:aw_browser_terminator.cc(112)] Render process (11091) kill (OOM or update) wasn't handed by all associated webviews, killing application.
github-actions[bot] commented 1 year ago

👋 @wa11breaker

NOTE: This comment is auto-generated.

Are you sure you have already searched for the same problem?

Some people open new issues but they didn't search for something similar or for the same issue. Please, search for it using the GitHub issue search box or on the official inappwebview.dev website, or, also, using Google, StackOverflow, etc. before posting a new one. You may already find an answer to your problem!

If this is really a new issue, then thank you for raising it. I will investigate it and get back to you as soon as possible. Please, make sure you have given me as much context as possible! Also, if you didn't already, post a code example that can replicate this issue.

In the meantime, you can already search for some possible solutions online! Because this plugin uses native WebView, you can search online for the same issue adding android WebView [MY ERROR HERE] or ios WKWebView [MY ERROR HERE] keywords.

Following these steps can save you, me, and other people a lot of time, thanks!

adiiisanjayaa commented 1 year ago

any update?

makstheimba commented 1 year ago

experience the same issue, but with any link. I figured out that it seems to happen only on Android 12 Go Edition, but don't know where to go from here and how to fix it

github-actions[bot] commented 1 month ago

This issue is stale and has been automatically closed because it has been open for more than 365 days with no activity. Please reopen a new issue if you still have it.

github-actions[bot] commented 1 day ago

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.