android - 使用 getStream 的聊天和提要应用程序,具有自定义 UI

标签 android ios chat feed getstream-io

我想集成 getStream 以在我的下一个移动应用程序(Android 和 iOS)中启用聊天和提要。我正在为这个实现的最佳解决方案而苦苦挣扎。这里的第一个查询是连接:

  • 应用程序应连接 getStream API 以启用聊天和提要
  • 应用程序应该调用我们的服务器(用 NodeJS 编写),服务器会将调用转移到 getStream。

  • 在案例 1 中,开发团队面临诸如未获得 JSON 格式的响应等问题,在案例 2 中,开发团队无法订阅 channel /事件。

    是否可以使用我自己的自定义 UI 而不是 getStream 为移动应用程序提供的那种来实现聊天和提要?

    如果可能的话,请分享验证您的答案的资源链接。

    最佳答案

    case 1, the dev team is facing issue such as not getting response in JSON format
    case 2, the dev team is not able to subscribe channels/events.



    你没有得到任何回应或有一些错误?您如何订阅 channel /Activity ?可能最好在专门的 SO 问题中提问。

    Is it possible to implement chat and feed having my own custom UI and not the one provided by getStream for mobile apps?



    是的,有可能。有些客户端没有 UI 组件,因此您可以实现自己的 UI:

    聊天iOS客户端:https://cocoapods.org/pods/StreamChatClient
    聊天安卓客户端:https://github.com/GetStream/stream-chat-android-client/
    馈送 iOS 客户端:https://github.com/GetStream/stream-swift
    馈送 Android 客户端:https://github.com/GetStream/stream-java

    关于android - 使用 getStream 的聊天和提要应用程序,具有自定义 UI,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62036602/

    相关文章:

    iphone - MFMailComposeViewController : Attaching Images from Photo Gallery

    javascript - Pubnub 一对一聊天向所有用户发送消息

    android - 不会阻止在 Android 中拖放的不显眼的弹出窗口

    ios - 在我的 iOS 应用程序中包含一个 HTTP(而非 HTTPS)URL 链接,我是否需要禁用应用程序传输安全?

    java - 限制android中的成本转换?

    ios - 管理与公共(public) cocoapod 同名的私有(private) cocoapod

    php - 而在 Mysql 中只提取最后的结果?

    delphi - 如何在两台计算机之间发送字符串?

    android - Android 应用程序中通过蓝牙传输视频

    android - 如何为 Android 自定义键盘中的每个键设置不同的按键背景