zoho / SalesIQ-Mobilisten-ReactNative

Your mobile app's ideal live chat partner. Power up your mobile App with the SalesIQ Mobilisten SDK for React-Native.
https://mobilisten.io/
9 stars 11 forks source link

I need an event callback after openChat() #52

Closed dieptang closed 1 year ago

dieptang commented 1 year ago

Hi,

We have the button and trigger the function ZohoSalesIQ.openChat(); when the user click on this. But sometime for new installing users had to waiting about 5 seconds for popup the chat windows. Can you please add the event after the chat windows popup?

For example:

ZohoSalesIQ.openChat();

and then

ZohoSalesIQ.isChatOpened(() => { console.log('Chat windows is opening'); });

Thank you.

bhahirathan-mb-11956 commented 1 year ago

Hi @dieptang ,

Thanks for reporting us. We'll consider your query and implement this in the upcoming release.

Regards, Bhahirathan M.

bhahirathan-mb-11956 commented 1 year ago

Hi @dieptang ,

Thanks for your patience. The above requirement has been handled in the latest update with the EVENT_CHATVIEW_OPENED event in the event listener. Please check out version 5.0.0.

Regards, Bhahirathan M, Zoho SalesIQ.