Environment
- OS: Windows 11 Home (10.0.26100 Build 26100)
hotkey_manager Version: ^0.2.3
Problem Description
Using hotkey_manager on Windows results in both dependency resolution warnings and a fatal runtime error.
- Dependency Warning:
flutter pub get warns that the hotkey_manager_windows package is missing.
- Runtime Error: When the application is built and run, it crashes with a
MissingPluginException, as the native Windows implementation for the plugin cannot be found.
What I've tried:
- Running
flutter clean and flutter pub get/upgrade.
- Building the application.
The warnings persist and the application fails at runtime.
Error Outputs
1. Dependency Resolution Warning
Package hotkey_manager:windows references hotkey_manager_windows:windows as the default plugin, but the package does not exist, or is not a plugin package.
Ask the maintainers of hotkey_manager to either avoid referencing a default implementation via platforms: windows: default_package: hotkey_manager_windows or create a plugin named hotkey_manager_windows.
2. Runtime MissingPluginException
The application throws the following exception when trying to use the plugin:
Fehler beim Erfassen: MissingPluginException(No implementation found for method register on channel dev.leanflutter.plugins/hotkey_manager)
Relevant pubspec.yaml
dependencies:
flutter:
sdk: flutter
# ... other dependencies
hotkey_manager: ^0.2.3
win32: ^5.13.0
Conclusion
The missing hotkey_manager_windows plugin is causing both build-time warnings and a runtime crash, making the package unusable on Windows in its current state.
Environment
hotkey_managerVersion: ^0.2.3Problem Description
Using
hotkey_manageron Windows results in both dependency resolution warnings and a fatal runtime error.flutter pub getwarns that thehotkey_manager_windowspackage is missing.MissingPluginException, as the native Windows implementation for the plugin cannot be found.What I've tried:
flutter cleanandflutter pub get/upgrade.The warnings persist and the application fails at runtime.
Error Outputs
1. Dependency Resolution Warning
Package hotkey_manager:windows references hotkey_manager_windows:windows as the default plugin, but the package does not exist, or is not a plugin package.
Ask the maintainers of hotkey_manager to either avoid referencing a default implementation via platforms: windows: default_package: hotkey_manager_windows or create a plugin named hotkey_manager_windows.
2. Runtime
MissingPluginExceptionThe application throws the following exception when trying to use the plugin:
Fehler beim Erfassen: MissingPluginException(No implementation found for method register on channel dev.leanflutter.plugins/hotkey_manager)
Relevant
pubspec.yamlConclusion
The missing
hotkey_manager_windowsplugin is causing both build-time warnings and a runtime crash, making the package unusable on Windows in its current state.