Skip to content

[audioplayers] Add "init" global method call handler#2

Open
makotosato-at wants to merge 2 commits intoflutter-elinux:mainfrom
makotosato-at:add_init_audioplayers
Open

[audioplayers] Add "init" global method call handler#2
makotosato-at wants to merge 2 commits intoflutter-elinux:mainfrom
makotosato-at:add_init_audioplayers

Conversation

@makotosato-at
Copy link

In version 6.4.0 of audioplayers, the call to the 'init' method was added to the 'global method channel'.
To address this, the handling for 'init' was added to 'HandleGlobalMethodCall'.

see also: bluefireteam/audioplayers#1905

see also: bluefireteam/audioplayers#1905

Signed-off-by: Makoto Sato <makoto.sato@atmark-techno.com>
Added a 'global event channel handler' to address the following error.
---
flutter: MissingPluginException(No implementation found for method listen on channel xyz.luan/audioplayers.global/events)
flutter: #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332)
flutter: <asynchronous suspension>
flutter: flutter-elinux#1      EventChannel.receiveBroadcastStream.<anonymous closure> (package:flutter/src/services/platform_channel.dart:676)
flutter: <asynchronous suspension>
---

Signed-off-by: Makoto Sato <makoto.sato@atmark-techno.com>
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

Successfully merging this pull request may close these issues.

1 participant