react-native-crisp-chat-sdk icon indicating copy to clipboard operation
react-native-crisp-chat-sdk copied to clipboard

User chatbox does not reset when agent clears the chatbox session from dashboard

Open AmanSafeer opened this issue 1 year ago • 3 comments

Hello team,

I am facing the issue with clear chatbox session feature. When the agent clears chatbox session from dashboard, it clears and reload the user's chat box in the web app but it does not clears the user's chat box in the mobile app until I reset it manually with resetSession() method.

Moreover, There is no event listner in this sdk that will detect agent actions like web app.

This seems to be a high priority bug and should be resolved ASAP.

React native version: 0.72.4 Platforms: iOS Crisp sdk version: 0.14.4

AmanSafeer avatar Oct 23 '24 05:10 AmanSafeer

Hello Aman.

We just updated the react native SDK, this should fix your problems

baptistejamin avatar Oct 23 '24 08:10 baptistejamin

Hi @baptistejamin

I've downloaded the example of the updated SDK. It still does not clears the chatbox in iOS app. However, it clears in android app as expected and it was already working in previous version.

I've tested this scenario on the Example app of crisp SDK.

AmanSafeer avatar Oct 24 '24 08:10 AmanSafeer

Any updates ok this issue for ios?

AyoParadis avatar Dec 21 '24 08:12 AyoParadis

I seem to have the same issue. App is tested with a dev build made with EAS.

Packages :

  • react-native-crisp-chat-sdk : 0.16.1
  • expo : 53.0.11
  • react-native: 0.79.3

BenStirrup avatar Jun 16 '25 15:06 BenStirrup

Hi,

Could you please update to the latest version of the SDK 0.20 and let us know if the issue is still there? Also, can you confirm whether you are using a token ID in your setup?

Thanks!

VirtuozTM avatar Sep 18 '25 15:09 VirtuozTM

As mentioned in https://github.com/walterholohan/react-native-crisp-chat-sdk/issues/151#issuecomment-3254222903, chat clearing issue on iOS has already been addressed in iOS 2.9.0 which should be available on React 0.19.

As mentioned by @VirtuozTM, you can already update to latest React 0.20 ;)

Doc1faux avatar Sep 19 '25 12:09 Doc1faux