Integrating Chat SDK User profiles with your app
The Chat SDK stores it's own user object in Firebase. That means that if you already have your own user profiles, you will need to synchronize these with Chat SDK. Otherwise, the incorrect avatar and name will show up in the chat.
To do this you can use the following code:
Or you can use the SimpleAPI
for convenience:
The best time to run this code is after authentication and whenever the user updates their profile information.
Last updated