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

Sometime, ZohoSalesIQ.setLauncherVisibility(false) is not working #40

Closed dieptang closed 2 years ago

dieptang commented 2 years ago

When play a while with open the chat and close multiple time, I saw this strange behaviour. I added an event with

ZohoSalesIQ.addEventListener(ZohoSalesIQ.EVENT_CHAT_CLOSED, () => {
console.log('chat closed');
        ZohoSalesIQ.setLauncherVisibility(false);
      });

and trigger when I closed the chat, the function is triggered with ZohoSalesIQ.setLauncherVisibility(false); , but the launcher still display.

But when I add the button with onclick() => {ZohoSalesIQ.setLauncherVisibility(false)} then it working.

I am using "react-native": "^0.67.2" and "react": "^17.0.2". Many thanks

Rishabh-Raghunath commented 2 years ago

Hello @dieptang, We request you to let us know if you still face the issue after updating the package to release 4.2.9.

Rishabh-Raghunath commented 2 years ago

This issue is now being marked as closed. Please feel free to get back to us in case you have further queries. Thanks.