Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset session only reset the chat if the app is closed #126

Open
dutrasr opened this issue May 16, 2024 · 0 comments
Open

Reset session only reset the chat if the app is closed #126

dutrasr opened this issue May 16, 2024 · 0 comments

Comments

@dutrasr
Copy link

dutrasr commented May 16, 2024

Hello everyone,

I'm facing an issue with the reset session feature. Within my app both guest and authenticated users have access to the crisp chat. When the user login we reset the session, set the session token for that user to retrieve previous conversations and after logout we call the reset session again to clear everything.

The reset session call seems to work fine when the user login, but when they logout the reset session is persisted only if the user close the app. If, for some reason, the user logout and decides to open the chat the messages exchanged are still there. After that, even closing the app don't reset the user session.

I'm using the latest version (0.14.1) and I was able to replicate this in both android and iOS. Does anyone notice this behavior before?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant