-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
Description
This is not a bug but a question:
Context: If the app is sent to background and opened it again X minutes later, the user has to authenticate/login again, just like most baking apps.
Problem: If the conversation was opened before the app was sent to background, when the app comes to foreground again, the conversation is visible.
Goal: Programmatically close the conversation when the app is sent to background.
I've tried using "reset" to invalidate the instance but that only makes the conversation unresponsive (can't send messages) but it is still visible/readable.
- Is there any way to close the conversation programmatically?
- If not, is there any way to implement that functionality? I've been playing with the example project and
rootController.dismiss(animated: true, completion: nil)
, and it seems to work, but I have no idea about Swift and I don't even know how we could do this for Android too.
pwfcurry