Skip to content
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

[Bug]: InAppWebViewのWifiがない状態で、No implementation foundが出力される不具合を修正する #163

Open
1 task done
iseruuuuu opened this issue Mar 4, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@iseruuuuu
Copy link
Contributor

iseruuuuu commented Mar 4, 2024

これに関する既存の Issue はありますか?

  • 既存の Issue はありませんでした

現在の動作

1.WebView 内で遷移する
2.機内モードをオンにする
3.WebView で Pull-to-Refresh をする
4.エラー画面が表示される
5.エラー画面のリロードボタンを押すとNo implementation foundのエラーがログに出力される。

期待される動作

  • Wifiがない状態でも、No implementation foundが呼ばれないようにする。

エラーのログ

iOS

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method getUrl on channel com.pichillilorenzo/flutter_inappwebview_0)
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:320:7)
<asynchronous suspension>
#1      IOSInAppWebViewController.getUrl (package:flutter_inappwebview_ios/src/in_app_webview/in_app_webview_controller.dart:1555:19)
<asynchronous suspension>
#2      _WebViewState.onRefresh (package:features_webview/src/ui/web_view.dart:42:16)
<asynchronous suspension>
#3      _WebViewState.build.<anonymous closure> (package:features_webview/src/ui/web_view.dart:90:25)

Android

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method getUrl on channel com.pichillilorenzo/flutter_inappwebview_0)
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:320:7)
<asynchronous suspension>
#1      IOSInAppWebViewController.getUrl (package:flutter_inappwebview_ios/src/in_app_webview/in_app_webview_controller.dart:1555:19)
<asynchronous suspension>
#2      _WebViewState.onRefresh (package:features_webview/src/ui/web_view.dart:42:16)
<asynchronous suspension>
#3      _WebViewState.build.<anonymous closure> (package:features_webview/src/ui/web_view.dart:90:25)

備考

#162 に関連がありそうです。

環境

- Commit Hash: 0153501e8487f388e99243d36f56509ea98f9def
- App Version: 1.0.0
- Platform: iOS 17.2.1, Android 14 API level 34
@iseruuuuu
Copy link
Contributor Author

しばごーさんからInAppWebViewのバグではないかというコメントをいただきました。
pichillilorenzo/flutter_inappwebview#1296

@iseruuuuu iseruuuuu changed the title [Bug]: InAppWebViewのWifiがない状態で、No implementation foundの不具合 [Bug]: InAppWebViewのWifiがない状態で、No implementation foundが出力される不具合を修正する Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant