jnschulze / flutter-webview-windows

A WebView2-powered Flutter WebView implementation for the Windows platform.
BSD 3-Clause "New" or "Revised" License
203 stars 120 forks source link

Error running the project in the child window created using plugin desktop_multi_window #272

Closed prodiscover-flutter-admin closed 9 months ago

prodiscover-flutter-admin commented 9 months ago

Created a sample app and in main window this works as a champ (Thanks) But Using the multi_window and creating a new window and trying to run this in that newly created window it fails

with error

[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)

#1 MethodChannel.invokeMapMethod (package:flutter/src/services/platform_channel.dart:518:43) #2 WebviewController.initialize (package:webview_windows/src/webview.dart:172:11)