flutter-plugins icon indicating copy to clipboard operation
flutter-plugins copied to clipboard

Application crashes when trying to open webview-windows in flutter desktop

Open vusarath opened this issue 2 years ago • 1 comments

**Using desktop_multi_window package crated a new window from a flutter windows application and when created and opened new window with this browser component it fails with this error

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method isWebviewAvailable on channel webview_window) #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:313:7) #1 WebviewWindow.isWebviewAvailable (package:desktop_webview_window/desktop_webview_window.dart:56:19) **

_with another plugin also same issue

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method initialize on channel io.jns.webview.win) #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:313:7)

https://github.com/jnschulze/flutter-webview-windows/issues/1 MethodChannel.invokeMapMethod (package:flutter/src/services/platform_channel.dart:518:43)

https://github.com/jnschulze/flutter-webview-windows/issues/2 WebviewController.initialize (package:webview_windows/src/webview.dart:172:11)_

Any thing i missed or any suggestions.

vusarath avatar Jan 05 '24 10:01 vusarath

What version of flutter are you using?

viachaslavic avatar Jan 22 '24 00:01 viachaslavic