HomeX-It / pusher-websocket-flutter

An unofficial Flutter plugin that wraps pusher-websocket-java on Android and pusher-websocket-swift on iOS
MIT License
30 stars 22 forks source link

conflicts of library for Reachability in iOS #11

Open eleomilagrosa opened 5 years ago

eleomilagrosa commented 5 years ago

Just add this 2 in pubspec.yaml then run the app in iOS

pusher_websocket_flutter: ^0.1.1 connectivity: ^0.4.4+1

When you combine this 2 library your app wont work anymore in iOS. because of the library "Reachability"

image

Please give suggestions how to fix this situations

When I remove the connectivity library it will work as expected

MisterJimson commented 5 years ago

Yes this is tricky since the Pusher SDK uses Reachability itself. I do not know of a solution to it at this moment.

MisterJimson commented 4 years ago

More info here: https://github.com/flutter/flutter/issues/42707#issuecomment-558757582

tintnaingwinn commented 4 years ago

I use connectivityswift instead of connectivity.

MisterJimson commented 4 years ago

Apparently the new Pusher SDKs don't have this issue anymore