open-im-sdk-reactnative icon indicating copy to clipboard operation
open-im-sdk-reactnative copied to clipboard

[BUG] params type is error

Open daxingyun opened this issue 5 months ago • 0 comments

OpenIM Server Version

3.8.0

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

createVideoMessageFromFullPath: ( params: string, operationID: string ) => Promise<MessageItem>; createSoundMessageFromFullPath: ( params: string, operationID: string ) => Promise<MessageItem>; createFileMessageFromFullPath: ( params: string, operationID: string ) => Promise<MessageItem>; 这几个接口的参数params的类型是错误的,比如createSoundMessageFromFullPath的参数params不应该是String类型,而应该是一个对象,传入String类型会崩溃。

Screenshots Link

createVideoMessageFromFullPath: ( params: string, operationID: string ) => Promise<MessageItem>; createSoundMessageFromFullPath: ( params: string, operationID: string ) => Promise<MessageItem>; createFileMessageFromFullPath: ( params: string, operationID: string ) => Promise<MessageItem>;

daxingyun avatar Sep 23 '24 17:09 daxingyun