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

Invariant Violation crash on debug builds #57

Closed Ramanpreet6262 closed 1 year ago

Ramanpreet6262 commented 1 year ago

Facing the below issue while running the app in debug mode (sometimes, when we reload the app and sometimes on init)

Screenshot 2022-10-20 at 11 26 25 AM

Here the value of cbID and callID keeps on changing rest same.

Ramanpreet6262 commented 1 year ago

Another finding: Before this crash happens, this log also comes: Zoho SalesIQ initialization failed from code added below:

ZohoSalesIQ.initWithCallback(
  config.appKey,
  config.accessKey,
  (success: boolean) => {
    if (success) {
      Logger.info('Zoho SalesIQ initialization success');
      // Code to execute after initialization
    } else {
      Logger.info('Zoho SalesIQ initialization failed');
    }
  }
);
bhahirathan-mb-11956 commented 1 year ago

Hi @Ramanpreet6262 ,

Thanks for writing us. Sorry for the inconvenience. We'll check this and update you shortly.

Regards, Bhahirathan M

bhahirathan-mb-11956 commented 1 year ago

Hi @Ramanpreet6262 ,

The above crash has been fixed in version 5.0.0.

Regards, Bhahirathan M, Zoho SalesIQ.