Open jyounus opened 8 years ago
@jyounus The closeHelpshiftSupportSession
API will close any helpshift screen that is open at the time. The term session here refers to Helpshift's UI Navigation stack.
Its seems the documentation does not make this clear enough. Thanks for pointing this out, we will update this soon.
Hey there,
Either I'm not understanding what a "Helpshift session" is, or
HelpshiftSupport.closeHelpshiftSupportSession()
doesn't work.Am I correct that this line of code should basically "cancel" any outstanding conversations? In other words, it should have similar behaviour as if I was to press the "Reject" or "Resolve" button on my Helpshift Issues Dashboard, right? Close the existing conversations (if any), so the user can start a new one.
That doesn't seem to work for me. I'm doing the following:
I'm trying to open a new conversation screen with pre-filled text that the user entered in the previous screen. I want to collect any feedback on how I can improve my app, before they delete their user account for whatever reason. I want to know that reason.
However if a user already has an open conversation, it just opens the messages screen. It doesn't cancel anything and neither does it pre-populate the textfield.
It only works if I reject/resolve any existing issues from the dashboard and then try to call the above two lines of code. Only then I see a brand new conversation screen with my text pre-filled.
Any ideas what I'm doing wrong? How is
HelpshiftSupport.closeHelpshiftSupportSession()
supposed to work?