QuickBlox / quickblox-dotnet-sdk

QuickBlox .NET SDK
BSD 2-Clause "Simplified" License
17 stars 10 forks source link

Not connected to XMPP server #4

Open NainaSharma190790 opened 7 years ago

NainaSharma190790 commented 7 years ago

When I am using my application details (AuthKey,APPID etc) in your sample. Facing this issue while sending messages. The error i am getting is "Not connected to XMPP server."

gioggio79 commented 6 years ago

Same problem here? Any news, workaround or anything else?

SandeepSingh145 commented 4 years ago

Same problem here? Any update or anything else?

SandeepSingh145 commented 4 years ago

finally, find a solution to connect XMPP server

public ChatXmppClient GetXmppClient() { return qbclient.ChatXmppClient; }

and PrivateChatPage

//hack connect with server try { await App.QbProvider.GetXmppClient().Connect(currentUserId, currentUserPassword); } catch(Exception ex) { Debug.WriteLine(ex); }