Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple ChatClient instances #5244

Open
sebastianmarschall opened this issue Apr 25, 2024 · 0 comments
Open

Multiple ChatClient instances #5244

sebastianmarschall opened this issue Apr 25, 2024 · 0 comments

Comments

@sebastianmarschall
Copy link

For building an slack-like-app that supports login of multiple users while showing unread badges and receiving push notifications for all of them support for multiple ChatClient instances is needed.

That is possible on iOS, the Swift documentation states:
"Client or ChatClient: The root object of the SDK representing the chat service. Typically, an app contains just one instance of ChatClient. However, it's possible to have multiple instances if your use case requires it (for example more than one window with different workspaces in a Slack-like app)."

On Android however it seems that isn't supported. When trying to instantiate another ChatClient the SDK logs:
"[ERROR] You have just re-initialized ChatClient, old configuration has been overridden [ERROR]"

Are there plans for matching the iOS SDK in that regard?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant