-
Notifications
You must be signed in to change notification settings - Fork 82
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
Adding Basic Chat Support #224
Conversation
if (!ChatManager.isConnected) { | ||
ChatManager.initChat( | ||
applicationContext = applicationContext, | ||
userData = UserData( | ||
id = user.uid, | ||
name = user.displayName, | ||
email = user.email, | ||
pictureUrl = user.photoUrl?.toString(), | ||
), | ||
) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the chat only enabled for authenticated people? If yes, should we create a placeholder screen for the chat tab?
Reason: if I'm not authenticated, the app crashes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This logic does not update the current user when switching accounts.
InitializationState.NOT_INITIALIZED -> { | ||
Text(text = "Not initialized...") | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add an "action" to initialize or retry on failure?
Closing PR's as we aren't planning to implement this right away. But will save the branch |
Details
Adding Stream Chat support for Android and iOS.
Changes
Stream
library for Android and iOSmessaging
general` channel