-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] createImageMessageFromFullPath return empty #34
Comments
What parameters did you pass in |
in this project -> Footer.tsx -> selectImage , |
It works fine on the emulator
Verify the originalPath content when using the real machine |
测试是权限未申请,修改后可以收到回调. 但图片稍大一点,app会崩溃:
|
About how many MB?try to use Android Studio collect logs |
image size 277kb: api: err: |
I have the same error!
Have you fixed the error? |
when is the release with this fix? |
The SDK will be updated this week |
Code and sdk updated to the latest 3.8.1-rc.0 |
此项目更新后,在后端未更新的情况下,图片上传仍然崩溃, 此问题未修复 @lgz5689 |
Make sure that both the server and client are 3.8 |
The code but if I send String In OpenImSdkRnModule.java I see |
This problem is most likely caused by differences in the values returned by the |
What is your version of |
see #32 |
0.72.6 |
I updated the version to the latest, corrected the java file, but my error is the same but it works in iOS react-native: 0.72.6 |
Please read this article carefully. Obviously you didn't read it in its entirety |
Try to remove |
去掉file后,还是有问题 sourcePicture并没有url等信息,size也是为0,height,width倒是有 |
This is normal, and when the message is successfully sent, the callback returns a message body containing all the contents |
这是对方接收到的消息内容 消息内容图片相关的信息只有IOS虚拟机的路径,对于消息接收方来说,这个路径有什么意义么,没有其他可用的可用于展示这个图片的消息内容吗 |
After the message has been successfully sent, you can get the complete structure of the message. The |
这是消息接收方所接收到的消息,里面并没有可以展示这张图片的信息 |
Check the console |
OpenIM Server Version
open-im-sdk-rn 3.5.1-rc.2
Operating System and CPU Architecture
macOS (ARM)
Deployment Method
Source Code Deployment
Bug Description and Steps to Reproduce
new demo release
String message = Open_im_sdk.createImageMessageFromFullPath(operationID, imagePath);
message get ""
Screenshots Link
No response
The text was updated successfully, but these errors were encountered: