Skip to content Skip to sidebar Skip to footer

Integrating Real-time Messaging In Android App

I have been searching for a while as to what could be the best option to integrate real-time messaging in my app. I have read about a number of available chat APIs like Sinch, Appl

Solution 1:

It is possible to use both Firebase and Quickblox. Use Firebase to handle the authentication and use the FirebaseUser object to create a QBUser for your quickblox implementation. Hope this helps.


Solution 2:

As Norris pointed out in his answer, it is possible to use Firebase and QuickBlox, but QuickBlox requires client app to authorize with user_id and password. Since you can only get user_id from FirebaseUser object, but not the password (explained here: Firebase/Swift 2 - How to get an authenticated users password and email), you could programmatically generate new unique password just for QuickBlox authorization and keep it stored together with other user data at Firebase Real-Time database. The user doesn't need to know this password, you just use it in your client-side code when you wish to authorize with QuickBlox API.


Solution 3:

SendBird has simple and powerful Android SDK which runs very well with any types of user authentications.

SendBird only requires "user_id" to create a chat account and it should be super easy to integrate SendBird with Firebase by just using Firebase user unique id as SendBird "user_id".


Post a Comment for "Integrating Real-time Messaging In Android App"