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
Doesn't work on mobile Chrome #397
Comments
It works fine in chrome on ios. Anyone else experiencing this on android? |
I have the same issue from Chrome on Android. I am using Android KitKat. |
With latest Dropzone version? |
Yes with the latest version of Dropzone. I actually get a different dialog to select the image when I use Chrome VS Firefox on android. Firefox works fine, its seems to only be Chrome that has the file upload error. |
I noticed a wrinkle that might indicate that it is a UI weirdness rather If I choose a photo from "Gallery" and don't choose photos that are I can't access any other "native" sources for files; just things like So perhaps it's not a bug at all, but something weird with Android. On Fri, Dec 20, 2013 at 5:19 PM, Jason Girdner notifications@github.comwrote:
|
@mfeif very good news ;) |
hey I am having some problems on mobile chrome IOS, the progress bar does not work and sometimes in does not fire the before send action. |
Running Android 4.4.2, when I click the dropzone, a dialog pops up if I want to use the Camera, Camcorder, or Documents (Android 4.4's new file explorer). If I select a picture from Documents, it doesn't work, however if I choose Camera and take a new picture, it works great! Hopefully it's just a minor bug stopping selecting from Documents from working. |
Follow up to my last post. 4.4 isn't including filling the "type" of the file in the upload, resulting in the failure. A workaround fix would be to set the part of dropzone that checks for the filetype as image to also accept a blank. |
so is there any solution for this problem? i am facing this problem too.. what is the solution? |
@numanBasit See my answer directly above your post. So far as I can tell, it's an Android bug, but my solution does function. |
Is there still no solution? |
Doesn't work on mobile Chrome, latest version.. |
@enyo still no solution |
Not working for me as well on Chrome on iPhone 4/5C/6/6Plus |
It's working fine on all iPhones that I have tested. I'm sorry, it's difficult to reproduce the problem described |
Hi @enyo, sorry I should have explained the process to reproduce the problem. Test on your example on http://dropzonejs.com and drop a If you do the exact same thing on Safari with iOS7 then instead of the size you will have I tested in iOS8 with an iPad and an iPhone and Safari works perfectly, but Chrome isn't working at all (same issue as iOS7). Will you investigate on this to support those browser ? Or is it out of your roadmap ? Thanks! |
try with acceptedFiles: 'image/*', it works with current version of dropzone on ios, android. |
I am also having problems with iOS 8/Chrome. Uploads intermittently fail with no error response in my app. Previews are rendered and the iOS network spinner turns, but the files are never posted. I don't have this problem in iOS 8/Safari or Desktop browsers including Chrome. |
On iOS 8/Chrome with dropzone v4.0.1, every request returns status 400 (Bad Request). Everything works fine on iOS 8/safari or desktop/Chrome |
+1 for Chrome on ios not even opening the image selection dialogue. |
Anyone get a solution to this? I'm having issues with firefox on android |
@wfried and @tangrufus have you tried with |
I have. I click on an image in my photos then the page seems to refresh and Any ideas? On Sun, Oct 11, 2015 at 7:30 PM, Matias Meno notifications@github.com
|
Having similar issues on iOS. Image is selected correctly. On call of process queue, spinner displays forever with no file sent over to the server. Any updates on this please? |
Have same issue with Galaxy S6 Edge on Android 5.1. Selecting images and uploading doesn't work, but choosing the option 'Camera' works perfectly fine. |
Same issue on iphone 5s, ios 10 |
Works fine with desktop but fails with mobile browser. |
Same here |
Hey there, We are implementing dropzone as an upload solution for our tip service, as such we had some time and around 300.000 unique devices click items over the last couple of months. This bug is also triggered when rolling back the android-webviewer updates in Lollipop and marshmallow releases, suggesting that this issue could be coming from incompatibility with an older version of chrome-webkit as Android moved to having chrome-webkit as an updatable app from Lollipop onward (allowing older devices from that point onward to remain up-to-date with the newest JS and HTML things) I'm incredibly interested to know how the community has been dealing with or fixing this issue as kitkat devices still form 10% of all visiting android devices to our sites. |
Thanks @HendrikPetertje for pinpointing the device and os. This allows me to test and debug it. I will look into it. |
Hey guys. As it turns out android file uploads on kitkat are a real pain as you need to do something with the camera instead. I've written a piece of code on the dropzone project over at gitlab (where the project lives nowadays) and created a pull request for it. https://gitlab.com/meno/dropzone/merge_requests/8 It doesn't really "fix" the issue as these older versions of android just don't support uploads of these kinds, but it puts some sugarcoating with a nice message on the problem instead. |
@HendrikPetertje - have you tried the guidelines in the answer here: https://stackoverflow.com/questions/27654005/how-to-upload-photo-from-gallery-in-android-to-a-website-with-dropzonejs ? |
Don't forget to check your upload_max_filesize value in php.ini. It helped me. |
I've tried the current Chrome (on Android 4.4 and 4.3), and even with Dropzonejs.com's own sample, I get "failed to open selected file" on any selected file.
Attaching a web-dev session via USB shows nothing in the console; no logs, no warnings, etc.
Thanks!
The text was updated successfully, but these errors were encountered: