indaband / pusher_channels

A pure Dart implementation of the Pusher Channels Client
https://pusher.com/channels
MIT License
8 stars 3 forks source link

Android compilation error #7

Open julianramoscalvo opened 2 years ago

julianramoscalvo commented 2 years ago

When i try to run my project with this dependency pusher_channels_flutter: ^1.0.1 This error appears ->

/Users/julian/Documents/work/app/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:144: error: cannot access ConnectionEventListener
      flutterEngine.getPlugins().add(new com.pusher.channels_flutter.PusherChannelsFlutterPlugin());
                                ^
  class file for com.pusher.client.connection.ConnectionEventListener not found
1 error
andrewsmedina commented 2 years ago

@julianramoscalvo what version of flutter are you using?

andrewsmedina commented 1 year ago

@julianramoscalvo this repo is a not official pure dart implementation of pusher-channels client. I believe that you are using the oficial client: https://github.com/pusher/pusher-channels-flutter