최근 검색
최근 검색 없음

College Ave Student Loans
가입한 날짜: 2021년 4월 16일
·
마지막 활동: 2024년 1월 16일
팔로잉
0
팔로워
0
총 활동 수
7
투표
1
플랜 수
2
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 College Ave Student Loans
College Ave Student Loans님이 에 댓글을 입력함
College Ave Student Loans님이 에 게시물을 만듦
We are looking for a way to clear or delete a conversation for an anonymous user within the iOS SDK. The current problem we are having is that once a user has started a chat and it has been escalated to an agent, that chat is never cleared on the device so a user cannot start a new conversation. The only real way we have found to achieve this is to uninstall and reinstall the mobile app.
Here are some of the solutions we have tried:
- Manually calling the [Smooch destroy] method when closing the chat
- Moving the [Smooch initWithSettings:completionHandler] function out of the [application:didFinishLaunchingWithOptions] and into our function that calls [Smooch show] in hopes completely reinitializing would help, but it did not.
We also found references to calling the Delete Messages API, but that does appear to be part of the iOS SDK. It was even mentioned on this github issue that it is not supported (https://github.com/zendesk/sunshine-conversations-ios/issues/189#issuecomment-370417212).
Additionally, we looked into logging a user in and back out but are unsure how to proceed with this approach to test if it would solve our problem. The iOS SDK requires a JWT and User ID, which are not currently using anywhere else. All of our conversations are done via anonymous user so this may not be what we are trying to achieve regardless.
Are there any ways we can completely clear chat history so when we call [Smooch show] it is starting a fresh conversation?
2024년 1월 03일에 게시됨 · College Ave Student Loans
0
팔로워
2
투표 수
2
댓글