2

Error facing in Flutter GetStream SDK.. GetStream is chatting SDK in which I am using messaging feature. I am facing issue with creating connection with the user.

Even if I change name of the user to anything, I still get the same error.

enter image description here

While the Log shows the following result. enter image description here

Sayed Muhammad Idrees
  • 1,245
  • 15
  • 25

1 Answers1

2

Stream Chat only supports one user connection at a time. You'll see it says "Connection already available..."

You first need to disconnect the current user, with:

await cle.disconnectUser();

Before calling connectUser again.

Gordon Hayes
  • 231
  • 1
  • 7