flutter_inappwebview icon indicating copy to clipboard operation
flutter_inappwebview copied to clipboard

crash InAppWebViewController.reload(in_app_webview_controller.dart:1301) [Android]

Open ttb-inc opened this issue 2 years ago • 1 comments

Environment

Technology Version
Flutter version 3.0.5
Plugin version 5.4.3+7
Android version 9, 10, 11, 12
iOS version
Xcode version

Device information:

Description

Expected behavior:

Current behavior: There seems to be a crash in the background.

Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: MissingPluginException(No implementation found for method reload on channel com.pichillilorenzo/flutter_inappwebview_8). Error thrown null. at MethodChannel._invokeMethod(platform_channel.dart:165) at InAppWebViewController.reload(in_app_webview_controller.dart:1301)

Steps to reproduce

  1. This
  2. Than that
  3. Then

Images

스크린샷 2022-08-30 오후 1 56 09 스크린샷 2022-08-30 오후 1 56 24 스크린샷 2022-08-30 오후 1 56 48 스크린샷 2022-08-30 오후 1 57 11

Please let me know if I am using the plugin wrong or if there is a workaround. Thank you.

ttb-inc avatar Aug 30 '22 05:08 ttb-inc

👋 @ttb-inc

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!

github-actions[bot] avatar Aug 30 '22 05:08 github-actions[bot]

Can confirm that this exact bug also happened to me when trying to call the reload functionality. I'm currently using the 6.0.0-beta.21 version

Letalus avatar Jan 24 '23 13:01 Letalus

same in 6.0.0-beta.22 with iOS

tomsun avatar Mar 05 '23 14:03 tomsun

Any update on this pls?

GuillaumeDgr avatar May 05 '23 08:05 GuillaumeDgr

we run into the same problem in 6.0.0-beta.22. Is it fixed?

TJRoger avatar Aug 21 '23 06:08 TJRoger

Has this problem been resolved? I also encountered this issue in version 5.8.0?

Reproduction steps: Embed InAppWebView on page A ->Open page B through link interception, click the button on page B to open page C ->Embed InAppWebView on page C. When returning to page A, call reload and report MissPlugin exception

E/flutter (20973): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method reload on channel com.pichillilorenzo/flutter_inappwebview_3) E/flutter (20973): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:313:7) E/flutter (20973): <asynchronous suspension> E/flutter (20973): #1 InAppWebViewController.reload (package:flutter_inappwebview/src/in_app_webview/in_app_webview_controller.dart:1341:5) E/flutter (20973): <asynchronous suspension> E/flutter (20973):

539863010 avatar Dec 13 '23 07:12 539863010

Nop, it does still exist

Letalus avatar Dec 13 '23 07:12 Letalus