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

iOS MissingPluginException(No implementation found for method listen on channel volume_watcher_event) #19

Open
spring321 opened this issue Feb 18, 2024 · 0 comments

Comments

@spring321
Copy link

VolumeWatcher.addListener((volume) {
Logger().wtf('进入了监听音量键: $volume');
});

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method listen on channel volume_watcher_event)
#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:320:7)

#1 EventChannel.receiveBroadcastStream. (package:flutter/src/services/platform_channel.dart:664:9)

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method getCurrentVolume on channel volume_watcher_method)
#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:320:7)

#1 VolumeWatcher.getCurrentVolume (package:volume_watcher/volume_watcher.dart:92:9)

#2 VolumeWatcher.addListener. (package:volume_watcher/volume_watcher.dart:51:29)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant