openimsdk / openimsdk/open-im-sdk-reactnative
[BUG] 🚀 sdk init or send image and text will be happen error (about json exceptions) 🚀
Open
Nobody has claimed this yet.
bug
documentation
- Dominant language
- TypeScript
- Stars
- 58
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
OpenIM Server Version
3.8.0 later
Operating System and CPU Architecture
macOS (ARM)
Deployment Method
Source Code Deployment
Bug Description and Steps to Reproduce
Errors may occur:
- init sdk :
ReactNativeJS com.sass_crm_rn_cn I 'initSDK error', [Error: please check params and dir] - init sdk :
promise.reject("-1", "please check params and dir") - send message:
Error: json: cannot unmarshal number 1.723458869536E12 into Go struct field MsgStruct.createTime of type int64
Screenshots Link
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing SDK initialization and image-plus-text sending on macOS ARM with OpenIM Server 3.8.0 or later, then trace the React Native SDK parameters and JSON handling that produce the reported errors. Done means initialization succeeds and sending the image-and-text message no longer fails with the createTime unmarshalling error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100