cometchat-go / xamarin-forms-chat-sdk-demo

CometChat Demo App for Xamarin Forms
6 stars 4 forks source link

com.inscripts.heartbeats.CCHeartbeat.startHeartbeat #15

Closed joseBarreto closed 5 years ago

joseBarreto commented 5 years ago

Some clients, when they are going to send message receive this error, and the application closes.

image

leandrobcb commented 5 years ago

Our customers are complaining about the instability of the chat, do you have a forecast?

leandrobcb commented 5 years ago

any news on this subject?

mehtanishant commented 5 years ago

Hello @leandrobcb,

We would like to inform that you need to invoke initCometChatServices() method, inside the success callback of login() method. This will resolve the crash issue you are facing.

Thank You

joseBarreto commented 5 years ago

Hello @leandrobcb,

We would like to inform that you need to invoke initCometChatServices() method, inside the success callback of login() method. This will resolve the crash issue you are facing.

Thank You

is this method available in which namespace?

joseBarreto commented 5 years ago

Do you have any examples of how to use this method?

joseBarreto commented 5 years ago

I put the code, after login, calling the code of the namespace "Cometchat.Inscripts.Com.Cometchatcore.Coresdk.CometChat" I still have the same mistakes.

joseBarreto commented 5 years ago

Hello @leandrobcb, We would like to inform that you need to invoke initCometChatServices() method, inside the success callback of login() method. This will resolve the crash issue you are facing. Thank You

any other tips?

mehtanishant commented 5 years ago

Hello @joseBarreto,

You can refer the following code snippet to invoke the initCometChatServices method.

cc.InitCometChatServices(activity, new CometChatCallback(success => successCall(success), fail => failCall(fail)));

where cc is the CometChat instance.

Kindly check and let us know if this solves your issue.

Thank You