Closed xHunter closed 1 year ago
Hello, could you pease elaborate? Could you send a snippet of your code for restoring with the token?
I'm setting user details when the registered user starts a session (app)
CrispSDK.setTokenID(tokenID: user.crispTokenId)
CrispSDK.user.email = user.email
CrispSDK.user.nickname = user.name
Then later when the chat is presented self.present(Crisp.ChatViewController(), animated: true)
if the token id was used in another platform (e.g. Android) the chat displays an alert that it failed to start the chat.
I've discovered the same problem and it's still present in the latest release.
What I do:
CrispSDK.setTokenID(tokenID: options.value(forKey: "tokenId") as! String)
)What I get:
If I don't set the tokenID there's no problem.
Update: After some more testing I've found out that the problem only exists when the tokenID was previously used on an other device (for example in web).
Hi everyone,
It’s been a while since this issue was reported, and we’ve launched a new major version of the Crisp SDK since then. The updates might have resolved the issue you encountered.
We’d appreciate it if you test the latest version to see if the issue persists. Feel free to reopen this issue with more details if needed.
Thanks for your support!
I've seen the chat failing when it's restoring a chat from a token also session reset seems unreliable, changing user and token keeps showing the previous chat.