kakajansh / echo

Laravel Echo for your Flutter apps.
MIT License
108 stars 70 forks source link

this library doesn't work well at iOS Module #28

Closed shashoug closed 3 years ago

shashoug commented 4 years ago

i have Laravel Websockets on my backend, i want to connect it with mobile client which is Pusher, i found this library and when i press 'run' it shows me this error: `Running pod install... CocoaPods' output: ↳ Preparing

Analyzing dependencies

Inspecting targets to integrate Using ARCHS setting to build architectures of target Pods-Runner: (``)

Fetching external sources -> Fetching podspec for Flutter from Flutter -> Fetching podspec for connectivity from .symlinks/plugins/connectivity/ios -> Fetching podspec for flutter_pusher_client from .symlinks/plugins/flutter_pusher_client/ios [!] No podspec found for flutter_pusher_client in .symlinks/plugins/flutter_pusher_client/ios

/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/external_sources/path_source.rb:14:in block in fetch' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/user_interface.rb:64:insection' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/external_sources/path_source.rb:11:in fetch' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:980:infetch_external_source' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:959:in block (2 levels) in fetch_external_sources' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:958:ineach' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:958:in block in fetch_external_sources' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/user_interface.rb:64:insection' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:957:in fetch_external_sources' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:117:inanalyze' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:410:in analyze' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:235:inblock in resolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/user_interface.rb:64:in section' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:234:inresolve_dependencies' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:156:in install!' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command/install.rb:52:inrun' /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in run' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command.rb:52:inrun' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/bin/pod:55:in <top (required)>' /usr/local/bin/pod:23:inload' /usr/local/bin/pod:23:in `

'

Error running pod install Error launching application on iPhone 8. ` my pubsec.yaml: cupertino_icons: ^0.1.3

#Checkboxes Library

grouped_buttons: ^1.0.4

#Google Maps Library.

google_maps_flutter: ^0.5.28+1

#Flutter Map Picker

google_map_location_picker: ^3.3.3

#Flutter GeoLocator

geolocator: 5.3.2+2

#Flutter Permissions

permission: ^0.1.7

#Flutter Lottie Animations

lottie: ^0.5.1

#Flutter Inner Navigation Drawer

flutter_inner_drawer: ^0.5.6+1

#Flutter Native Navigation Drawer

drawerbehavior: ^1.0.3

#Flutter Numeric Keyboard

numeric_keyboard: ^1.0.0

#Flutter Provider Library

provider: ^4.0.4

#Mobx For Flutter

mobx: ^1.1.1 flutter_mobx: ^1.1.0

#Flutter Curved Navigation Drawer

curved_navigation_bar: ^0.3.3

#Flutter Drop Down Field

dropdownfield: 1.0.0

#Flutter BLOC

flutter_bloc: ^6.0.1

#Flutter EQUATABLE

equatable: ^1.0.2

#Flutter DIO

dio: ^3.0.9

#Json Serialization

json_annotation: ^3.0.1

#Flutter Validator

validators: ^2.0.0+1

#Flutter SharedPrefs

shared_preferences: ^0.5.8

#Flutter Poly Lines

flutter_polyline_points: ^0.2.2

#FLutter Location Library

location: ^2.3.5

#Flutter Map PolyLine

google_map_polyline:

#Flutter Google Fonts

google_fonts: ^1.1.0

#Flutter Progress Dialog

progress_dialog: ^1.2.4

#Flutter Toast

toast: ^0.1.5

rxDart

rxdart: ^0.24.1

GET NAVIGATOR

get: ^3.5.1

FLUTTER ANIMATED MARKER

flutter_animarker: ^0.1.1+1

FLUTTER OFFLINE

flutter_offline: "^0.3.0"

FLUTTER WEB SOCKETS

laravel_echo: ^0.2.2 flutter_pusher_client: ^0.1.0

heywhy commented 4 years ago

You should install the latest version of the flutter_pusher_client library. 0.3.1 at this moment.

shashoug commented 4 years ago

MissingPluginException was thrown while activating platform stream on channel this what happened next :'(

heywhy commented 4 years ago

Exclude the library, run pub get, include flutter_pusher_client: ^0.3.1 then pub get. That should fix it

shashoug commented 4 years ago

can you explain away more "Exclude the library"!

heywhy commented 4 years ago

Remove the package from the pubspec file.

On Mon, 31 Aug 2020 at 16:55, Shashoug notifications@github.com wrote:

can you explain away more "Exclude the library"!

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/kakajansh/echo/issues/28#issuecomment-683867666, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADEECHGPLBBJRB6VS5AYHATSDPBX5ANCNFSM4QQPYBRQ .

shashoug commented 4 years ago

I did it, but the app crashes without any messages on the log.