openimsdk / openimsdk/open-im-sdk-reactnative

[BUG] 🚀 sdk init or send image and text will be happen error (about json exceptions) 🚀

Open
#32 3 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.