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

Refactor audio #69

Open
Tracked by #73
novas1r1 opened this issue Aug 23, 2022 · 0 comments
Open
Tracked by #73

Refactor audio #69

novas1r1 opened this issue Aug 23, 2022 · 0 comments
Labels

Comments

@novas1r1
Copy link
Owner

novas1r1 commented Aug 23, 2022

Throws tons of errors in the console atm:

This happens when a plugin sends messages to the framework side before the framework has had an opportunity to register a listener. See the ChannelBuffers API documentation for details on how to configure the channel to expect more messages, or to expect messages to get discarded:
  https://api.flutter.dev/flutter/dart-ui/ChannelBuffers-class.html
A message on the xyz.luan/audioplayers channel was discarded before it could be handled.
This happens when a plugin sends messages to the framework side before the framework has had an opportunity to register a listener. See the ChannelBuffers API documentation for details on how to configure the channel to expect more messages, or to expect messages to get discarded:
  https://api.flutter.dev/flutter/dart-ui/ChannelBuffers-class.html
Error: MissingPluginException(No implementation found for method audio.onCurrentPosition on channel xyz.luan/audioplayers)
    at Object.throw_ [as throw] (http://localhost:60602/dart_sdk.js:5080:11)
at platform_channel.MethodChannel.new._invokeMethod (http://localhost:60602/packages/flutter/src/services/restoration.dart.lib.js:1567:21)
    at _invokeMethod.next (<anonymous>)
    at http://localhost:60602/dart_sdk.js:40641:33
    at _RootZone.runUnary (http://localhost:60602/dart_sdk.js:40511:59)
    at _FutureListener.thenAwait.handleValue (http://localhost:60602/dart_sdk.js:35438:29)
    at handleValueCallback (http://localhost:60602/dart_sdk.js:35999:49)
    at _Future._propagateToListeners (http://localhost:60602/dart_sdk.js:36037:17)
    at [_completeWithValue] (http://localhost:60602/dart_sdk.js:35872:23)
    at async._AsyncCallbackEntry.new.callback (http://localhost:60602/dart_sdk.js:35906:35)
    at Object._microtaskLoop (http://localhost:60602/dart_sdk.js:40778:13)
    at _startMicrotaskLoop (http://localhost:60602/dart_sdk.js:40784:13)
    at http://localhost:60602/dart_sdk.js:36261:9
Error: MissingPluginException(No implementation found for method audio.onCurrentPosition on channel xyz.luan/audioplayers)
    at Object.throw_ [as throw] (http://localhost:60602/dart_sdk.js:5080:11)
at platform_channel.MethodChannel.new._invokeMethod (http://localhost:60602/packages/flutter/src/services/restoration.dart.lib.js:1567:21)
    at _invokeMethod.next (<anonymous>)
    at http://localhost:60602/dart_sdk.js:40641:33
    at _RootZone.runUnary (http://localhost:60602/dart_sdk.js:40511:59)
    at _FutureListener.thenAwait.handleValue (http://localhost:60602/dart_sdk.js:35438:29)
    at handleValueCallback (http://localhost:60602/dart_sdk.js:35999:49)
    at _Future._propagateToListeners (http://localhost:60602/dart_sdk.js:36037:17)
    at [_completeWithValue] (http://localhost:60602/dart_sdk.js:35872:23)
    at async._AsyncCallbackEntry.new.callback (http://localhost:60602/dart_sdk.js:35906:35)
    at Object._microtaskLoop (http://localhost:60602/dart_sdk.js:40778:13)
    at _startMicrotaskLoop (http://localhost:60602/dart_sdk.js:40784:13)
    at http://localhost:60602/dart_sdk.js:36261:9
@Juliotati Juliotati mentioned this issue Aug 23, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant