-
-
Notifications
You must be signed in to change notification settings - Fork 655
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. Sending pictures with apple device doesn't work. #4340
Comments
@ThomasBaeuml Hi Thomas ! Could you send a short vid/gif of what is exactly happening, as the iphone camera is not available on emulators |
@ThomasBaeuml I think this was just a permissions issue.Just go to settings and check the permissions for photos. |
Hey, IMG_0518.MP4 |
Are there some news? |
Thanks for the report! Here's one bug we're tracking in this area: #2684. We don't yet show a loading indicator while we're waiting for the image to be uploaded. #4129 is open as a way to fix that bug; we should review and resolve that. But I think you're saying that the image is never uploaded, even after waiting a reasonable amount of time, say, a few minutes. Is that right? There have been a few bugs that have started to surface with iOS 14, like #4365; this could be one of them. But it's possible that some other variable is involved, or that it's not only happening on iOS 14. I did just test on an iPhone 12 Pro simulator running iOS 14.3, and I was able to send a picture. You might have already tried this, but I'd be interested to know (especially with the knowledge about the unfortunate bug #2684): what happens if you choose an extremely small image from the media library, so it should get uploaded very quickly, and you wait for a whole minute or two with a good Internet connection? There won't be a progress indicator, but I'd be interested to know if it gets uploaded at all. |
Thanks for your quick reply. We have run a few scenarios. /etc/zulip/settings.py MAX_FILE_UPLOAD_SIZE = 5
Is there option to fix this? For my company there is no option to set MAX_FILE_UPLOAD_SIZE so high. |
Thanks so much for that investigation, @ThomasBaeuml!
That's odd! I'm seeing some reported issues (here, here) in a library we use for interacting with the platform's media library. It looks like people suspect that library is choosing an artificially large file on iOS; I'm looking into it. |
Any news yet? However small they are. We also rely on react-native-image-picker and we have the exact same problem. |
Welcome to Zulip, @j-perl! 🙂 It sounds like you've arrived here from a different React Native project, where you've run into a problem with choosing an image from the media library on iOS and uploading it to a server. We've been debugging at https://chat.zulip.org/#narrow/stream/243-mobile-team/topic/JPEG.20file.20sizes/near/1116254. Feel free to follow our conversation there. Before you do so, please read the chat.zulip.org community guide. 🙂 I expect to send a zulip-mobile PR later today, with at least a partial fix and an explanation for it. One key finding is that passing 1.0 as the For us, there are two layers where Our plan for now is to stay on react-native-image-picker v2, which exposes |
We've found that you can get logs from the Objective-C code to the Chrome remote-debugging console (I was surprised to see them not going to Xcode) by using - RCTSetLogThreshold(RCTLogLevelError);
+ RCTSetLogThreshold(RCTLogLevelInfo); |
@chrisbobbe Hi! How rude of me! Indeed, I came from another project which relies on react-native-image-picker as well and the way I got here was from this thread you mentioned react-native-image-picker/react-native-image-picker#1419. The issue described here resembles a lot to the issue we have. I should have instead reported this issue there. I apologize for any inconvenience. I thank you very much for the findings so far! Rest assured that if we find anything, we will inform you as well. We have just upgraded to react-native-image-picker v3 but will not hesitate to downgrade again if necessary... Again, many thanks. Regards |
Just filed #4752—the server does time out if it waits too long for a file to upload, which could explain some files just never getting uploaded at all! It's still a problem that the files are way bigger than they need to be (#4475 is a partial solution for that), but Tim suggests we can get around the timeouts by uploading files in chunks. |
Hello,
some IPhone users noticed that sending pictures doesn't work. We try taking pictures and send them doesn't work in the Zulip app ... Also taking photos with the IPhone camera and just choose them doesn't work. They using IOS 14.2. Is this an Apple bug? Is there a solution for this? Android, Windows client and webapp work for us. Do you need more informations?
Thanks for your answer.
Greetings from germany
Thomas
The text was updated successfully, but these errors were encountered: