Closed Christer-Muntean closed 2 years ago
Hi @Christer-Muntean,
Your code is correct so it looks like either I broke method channels or a new flutter version broke them :)
I'll figure out it and make a hotfix in the near future.
I have a veeery bad news. Seems like there is no way to use method channels in the isolate since flutter team removed MethodChannel.setMockMethodCallHandler
function. It should be noted that flutter_isolate package lets us to do so however it restricts us in sending non primitive objects so unfortunately it can't be used.
I'll try to find the way to solve this problem but it seems unlikely.
Update: seems like I found another way to override method channels and it is very promising
Ah, I see π Well I'll try and use flutter_isolate then. π
Fixed with #29
Hi π This is not an issue per say, but I'm struggling to add spotify_sdk plugin method channel.
This is my code
Where as I'm prompted with the following error:
Does isolate_bloc not support
EventChannels
? Or am I doing something wrong ?Best regards, love your plugin! Please add a paypal.me or buymeacoffee for donations π