You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my app I do show something like Inbox (5) where 5 is number of unread messages which I do receive with getInboxMessageUnreadCount.
When user opens inbox that number can be changed (as soon as he read the messages). How can I detect, that inbox was closed and users is returned back to my app?
Do not see any related API
The text was updated successfully, but these errors were encountered:
@vvscode Are you trying this on Android or iOS? In Android, you can write your own ActivityLifecycle callback which will give you a callback whenever an Activity is created/finished. You can then update the count there.
We do not provide any callback on the Activity being closed.
@vvscode Really sorry, we do not have any callback for the Activity being closed right now. We will be taking up this request into our roadmap. As a workaround, you can compute the unread message count every time your Inbox UI component is getting rendered on the screen using our getInboxMessageUnreadCount method
In my app I do show something like
Inbox (5)
where5
is number of unread messages which I do receive withgetInboxMessageUnreadCount
.When user opens inbox that number can be changed (as soon as he read the messages). How can I detect, that inbox was closed and users is returned back to my app?
Do not see any related API
The text was updated successfully, but these errors were encountered: