在Android应用程序中集成实时消息传递 [英] Integrating real-time messaging in android app

查看:187
本文介绍了在Android应用程序中集成实时消息传递的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找关于将实时消息集成到我的应用程序中的最佳选择的一段时间.我已经阅读了许多可用的聊天API,例如Sinch,Applozic,Quickblox,SendBird等.我感到困惑的是,由于我使用Firebase Auth进行用户身份验证,我可以将这些可用的API与Firebase Auth一起使用吗? ?我知道我什至可以使用Firebase创建IM功能,但我更喜欢使用第三方IM API,因为这样可以节省时间.

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, Applozic, Quickblox, SendBird, etc. What I am confused about is that since I am using Firebase Auth for user authentication, can I use these available API along with Firebase Auth??? I know I can even use Firebase to create IM feature but I would prefer to use third party IM APIs as it will save time.

注意:我也在使用Firebase实时数据库来存储用户数据.

Note: I am using Firebase Real-time Database as well to store user data.

在这种情况下,有人可以建议我最好的选择吗?

Can anyone suggest me the best option in this case???

推荐答案

SendBird具有简单而强大的Android SDK,可以很好地与任何类型的用户身份验证一起运行.

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

SendBird仅需要"user_id"来创建聊天帐户,仅使用Firebase用户唯一ID作为SendBird"user_id",将SendBird与Firebase集成起来应该非常容易.

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".

这篇关于在Android应用程序中集成实时消息传递的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆