js-realtime-sdk icon indicating copy to clipboard operation
js-realtime-sdk copied to clipboard

LeanCloud Realtime Message JavaScript SDK

Results 26 js-realtime-sdk issues
Sort by recently updated
recently updated
newest added

Bumps [terser](https://github.com/terser/terser) from 4.6.7 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) v4.8.0 Support for numeric separators (million...

dependencies

Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.12.0 to 4.17.0. Changelog Sourced from browserslist's changelog. Change Log This project adheres to Semantic Versioning. 4.17 Added yarn 3 support to --update-db (by Himank Pathak). 4.16.8...

dependencies

我从 4.3.1 版本升级到 5.0.0-rc.6 版本,运行环境为 react-native,碰到几个问题,想咨询一下: 1. 调用 `realtime.createIMClient` 方法后,报错如下: ``` Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is...

相关工单: https://www.leanticket.cn/tickets/37018 #### 原因 LiveQueryClient 创建失败(cmd 8 超时)后,`realtime._liveQueryClients[subscriptionId]` 是一个 [Promise(rejected)](https://github.com/leancloud/js-realtime-sdk/blob/2a5f840b958f6fbe103759d54db93a9eae3108f3/plugins/live-query/src/index.js#L61) 。 后续 realtime 又收到了发往该 client 的命令(啥情况🤔),[这里](https://github.com/leancloud/js-realtime-sdk/blob/2a5f840b958f6fbe103759d54db93a9eae3108f3/plugins/live-query/src/index.js#L73) 直接把 Promise 当 LiveQueryClient 用,导致找不到 `_dispatchCommand` 方法。 #### 可能的优化手段 - 忽略该命令 - 产生异常(友好的错误提示) -...

enhancement
help wanted

`const file = new AV.File.withURL('萌妹子', \'http://pic2.zhimg.com/6c10e6053c739ed0ce676a0aff15cf1c.gif') file.save().then(async () => { const imgMessage = new ImageMessage(file) imgMessage.setAttributes({ size: data.size }) const message = await conversation.send(imgMessage) console.log('发送成功', message) }).then(() => { console.log('文件发送成功')...

在浏览器 typescript 环境下按 API 文档导入会提示错误,请问正确的插件加载方式是怎样的 ![image](https://user-images.githubusercontent.com/85388/61281927-0be2a000-a7ed-11e9-9f99-a9c5f25ed1cc.png)

bug

报错信息: `Invalid messageClass[leancloud-realtime-plugin-im]` 即时通讯功能无法使用

![image](https://user-images.githubusercontent.com/5172252/71653902-cb121f80-2d69-11ea-892a-132b6e4bf2b9.png) "leancloud-realtime": "^5.0.0-beta.0" 心跳包 一直报错 发送消息正常

js sdk 使用 converstaion.read 之后, 当前的conversition ,并且 另一使用方的 LAST_READ_AT_UPDATE 无响应(js sdk),事件 .read 无响应(IOS SDK), 只有在 IOS 客户端 使用 conversation.read 后 sdk 能正常响。 目前使用了 fetchReceiptTimestamps 去更新,但是还是无法解决跨端同步的问题