ninjasolutions / flutter_pusher

An unofficial Pusher Channels library for Flutter
https://pusher.com/
MIT License
22 stars 30 forks source link

MissingPluginException(No implementation found for method listen on channel pusherStream) #5

Open canaan5 opened 4 years ago

canaan5 commented 4 years ago

════════ Exception caught by services library ══════════════════════════════════════════════════════ The following MissingPluginException was thrown while activating platform stream on channel pusherStream: MissingPluginException(No implementation found for method listen on channel pusherStream)

When the exception was thrown, this was the stack:

0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)

#1 EventChannel.receiveBroadcastStream. (package:flutter/src/services/platform_channel.dart:517:29) #3 EventChannel.receiveBroadcastStream. (package:flutter/src/services/platform_channel.dart:503:64) #8 Pusher.init (package:pusher_websocket_flutter/pusher.dart:29:44) ... ════════════════════════════════════════════════════════════════════════════════════════════════════
Stinger101 commented 4 years ago

I had the same issue too. Were you able to solve it?

════════ Exception caught by services library ══════════════════════════════════════════════════════ The following MissingPluginException was thrown while activating platform stream on channel plugins.indoor.solutions/pusherStream: MissingPluginException(No implementation found for method listen on channel plugins.indoor.solutions/pusherStream)

When the exception was thrown, this was the stack:

0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:319:7)

#1 EventChannel.receiveBroadcastStream. (package:flutter/src/services/platform_channel.dart:517:29) #3 EventChannel.receiveBroadcastStream. (package:flutter/src/services/platform_channel.dart:503:64) #8 Pusher.init (package:flutter_pusher/pusher.dart:40:44)
Stinger101 commented 4 years ago

I found the solution, I stopped hot reloading and installed the app again. It worked.

aslami-dev commented 3 years ago

I have same problem!!!...there is a solution for this?