Skip to content

Close conversation screen #35

@Esteban-ortega-roy

Description

@Esteban-ortega-roy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions