-
Notifications
You must be signed in to change notification settings - Fork 185
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
[desktop_multi_window] In the created window can not call other plugins #58
Comments
I found the solution |
@SiongSng what was the solution? |
@cbenhagen Windows: flutter-plugins/packages/desktop_multi_window/example/windows/runner/flutter_window.cpp Line 32 in 65dcbb0
Linux:
macOS: flutter-plugins/packages/desktop_multi_window/example/macos/Runner/MainFlutterWindow.swift Line 15 in 65dcbb0
|
So what I did was just calling flutter-plugins/packages/desktop_multi_window/example/linux/flutter/generated_plugin_registrant.cc Line 12 in 833cda2
inside flutter-plugins/packages/desktop_multi_window/example/linux/my_application.cc Lines 65 to 69 in 833cda2
and it just works. No need to specify each plugin manually. I guess the same can be done for macOS and Windows. |
In the created window can not call other plug-ins, it will throw MissingPluginException, but the main window can be called.
operating system: ubuntu 21.10
The text was updated successfully, but these errors were encountered: