Open Shahzad101digital opened 1 year ago
Hey @Shahzad101digital, I think this is not an issue on the library, I struggled with the same thing when I was working on implementing this for my company and we realize that there are some configurations you can make on the backend to correct this behavior. Check this link here they explain there is an allowMinimization
config that you can set to true and this will allow the user to minimize the app while having the chat session open. And also in this other link they explain how to customize the amount of time the user can have the app minimized before the session expires since by default it will kill the session after 1 or 2 min I think. Look for: Idle Connection Timeout Duration
and Idle Connection Warning Duration
, customizing the warning the user will get a popup notification notifying it that the session is about to expire and the other one is about the session already expired. By which btw you can hook to those events on this library if you want to do something fancier to notify the user or something like that. Hope that helps, let me know if that solves the issue for you. Best regards!
Describe the issue Chat window disappear when user tries to minimise the app and open again.
To Reproduce
Expected behaviour When user open app again after minimising it should show the chat window.
Device:Any Android Device OS: Any Android OS Version rn-salesforce-chat version (please complete the following information): 3.4.1
Thanks