crisp-im / crisp-sdk-android

:package: Crisp Android SDK, add a chat in any Android app and communicate with your users.
https://docs.crisp.chat/guides/chatbox-sdks/android-sdk/
Other
56 stars 17 forks source link

Crisp Socket version #93

Closed rezafaraji93 closed 2 years ago

rezafaraji93 commented 2 years ago

I am using socket version 2 because my server side socket version is 4. But I have noticed in order to use crisp socket version 1 client side is needed. Is there any solution for this issue? I can not down grade my socket version to 1 because my app stops getting data from server.

Doc1faux commented 2 years ago

Hi @rezafaraji93, unfortunately, I have not the hand on the Socket.IO version used by the Crisp server and don't know if a migration to Socket.IO 3.x or 4.x is planned (cc @baptistejamin). However, diving a bit into the Socket.IO Java client documentation, if you have the hand on your server, it seems you could make your v4.x server backward compatible with the v1.x client with the allowEIO3: true option. Hope it will help.

rezafaraji93 commented 2 years ago

This solved the problem, thanks.

Doc1faux commented 2 years ago

Glad to hear that :) So I close the issue.