最近の検索


最近の検索はありません

Esteban's Avatar

Esteban

参加日2023年10月24日

·

前回のアクティビティ2024年5月31日

フォロー中

0

フォロワー

0

合計アクティビティ

11

投票

9

サブスクリプション

1

アクティビティの概要

さんの最近のアクティビティ Esteban

Estebanさんが投稿を作成しました:

投稿 Developer - Zendesk SDKs

Context: When our app is sent to background for X minutes and opened later, the user has to authenticate/login again, just like most baking apps.

Problem: If the conversation was open before the app was sent to the background, when the app comes to the foreground again, the conversation is visible.

Goal: Programmatically close the conversation when the app goes to background

I created a Zendesk Support ticket and already got some responses, but they also suggested to create a ticket in dev community.

For iOS I've been told that I could close the conversation screen by adding the view to a new UI controller which I could destroy whenever I want, and I got this link just in case I want to try something similar:
https://support.zendesk.com/hc/en-us/community/posts/4420766059930/comments/4596294062362

However, I don't know how can I get this done in Android. 

Questions:

  • Do you have any example of how to do that in Android?
  • It would be great to add both examples to your GitHub demos/repository, it seems like a very common case.
  • This is just my opinion, but I think it makes sense to have a ".closeMessaging" method. Almost every method/operation in Zendesk Messaging SDK has also its opposing one: Login/logout, addListener/removeListener, initialize/invalidate, setConversationFields/clearConversationFields, ... Wouldn't it be great to also have a default ".closeMessaging"?
    Why does not exist?
    Is it in your roadmap? 

 

Thanks in advance

編集日時:2023年11月30日 · Esteban

5

フォロワー

10

投票

8

コメント