Is there any perfect plugin for Socket IO implementation in Flutter?

574

Finally i have managed to resolve this issue with socket_io_client plugin, it is dart level library and works well out of the box.

Share:
574
Devarsh Ranpara
Author by

Devarsh Ranpara

Flutter Developer at Simform Solutions, Exploring IoT, Blockchain.

Updated on December 16, 2022

Comments

  • Devarsh Ranpara
    Devarsh Ranpara over 1 year

    I want to implement socket IO in my Flutter app, I got succeed in Android with flutter_socket_io, but it is not working on iOS,

    Then i have tried socket_flutter_plugin and adhara_socket_io any of these plugins are not working on both platforms.

    I have also tried socket_io_client but still it is not working.

    I followed all steps written in readme of all plugins. but still any of those are not working.

    I have checked all issues for respective plugins and tried to follow them as well.

    Does anyone used socket IO in Flutter at both platforms (Android and iOS).

    • Ravinder Kumar
      Ravinder Kumar over 4 years
    • Devarsh Ranpara
      Devarsh Ranpara over 4 years
      Yes i have already did and followed all steps. Did not worked for me.
    • Harsh Patel
      Harsh Patel over 4 years
      What's the exact issue you're facing? Can you post the logs?
    • Devarsh Ranpara
      Devarsh Ranpara over 4 years
      All plugins have different issues, Mostly i get Unhandled Exception: MissingPluginException(No implementation found for method socketInit on channel flutter_socket_io)
    • Harsh Patel
      Harsh Patel over 4 years
      This issue is related to channel. Flutter is not able to find the specific channel while invoking a method. So basically it means that you're missing something in integration. Do one thing take a blank project and try to integrate the same library in other project.
    • Devarsh Ranpara
      Devarsh Ranpara over 4 years
      I have created a blank project and working on it since 4 days, Still unable to find solution.
  • Devarsh Ranpara
    Devarsh Ranpara over 4 years
    As it is very high level classes i didn't used them as they we have limited time, but somehow we managed to resolve this issue.