【问题标题】:Getstream Chat Error: AnimatedValue: Attempting to set value to undefinedGetstream 聊天错误:AnimatedValue:尝试将值设置为未定义
【发布时间】:2020-07-16 06:05:03
【问题描述】:

我在 react native 中使用 Getstream 聊天 SDK, 我的 package.json 文件如下所示:

“依赖”:{ "@react-native-community/masked-view": "^0.1.10", "@react-native-community/netinfo": "^5.9.4", “反应”:“16.13.1”, "react-native": "0.63.1", “反应本机设备信息”:“^5.6.2”, "react-native-document-picker": "^3.5.3", "react-native-fast-image": "^8.1.5", "react-native-gesture-handler": "^1.6.1", "react-native-image-picker": "^2.3.2", "react-native-safe-area-context": "^3.1.1", “反应原生屏幕”:“^2.9.0”, “反应导航”:“4.1.0”, “反应导航堆栈”:“^2.8.2”, “stream-chat-react-native”:“^0.13.1” },

我在链接中提供的“本机消息示例”中使用相同的反应本机代码:https://github.com/GetStream/stream-chat-react-native

运行时,会显示聊天列表屏幕,但在选择聊天时会显示错误:

错误:AnimatedValue:试图将值设置为未定义

有没有人遇到同样的问题,请帮我解决一下。 提前致谢。

【问题讨论】:

    标签: react-native getstream-io


    【解决方案1】:

    TLDR:

    我的工作版本为 1.3.2, 请阅读 readme.md 和 bug.md 作为演练。

    https://github.com/ilovejs/ReactNative-GetStream-Bugfix

    说明:

    “官方”演示中存在哪些问题?

    "react-native-image-picker": "^2.3.4"
    index.js introduce patch uuid crpyto bug, that reported in readme.md
    "react-native-reanimated": "1.13.1",
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-07-27
      • 1970-01-01
      • 2022-01-12
      • 1970-01-01
      • 2018-06-06
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多