moxiecode / plupload

Plupload is JavaScript API for building file uploaders. It supports multiple file selection, file filtering, chunked upload, client side image downsizing and when necessary can fallback to alternative runtimes, like Flash and Silverlight.
http://www.plupload.com
GNU Affero General Public License v3.0
5.63k stars 1.42k forks source link

Multiple file upload on Android phone not working #1470

Open jpostema81 opened 7 years ago

jpostema81 commented 7 years ago

Hi,

recently I discovered that I'm not able to select and upload multiple files on Android. I tested on an recent model Android phone and were not able to select more than one file at a time. I used plupload version 2.3.1. It seems to work fine on my desktop PC (Linux / Windows) and it works fine on an iPhone 7 as well.

Android shows a file browser and I do see a gallery with multiple thumbs (a grid of thumbs). It shows small circles in one corner, suggesting an option to select multiple files. But after touching the screen at the location of one thumb, and "holding" the finger at the thumb in order to select multiple thumbs (photos), it just proceeds the selection and starts uploading. I've tested this at another (not mine) website and it shows the same behavior. I also tested at: http://www.plupload.com/examples/ and this shows the same problem, I can just select one file at a time.

If necessary I can post my Javascript code and Android version. I'm wondering if I'm doing something wrong, or is this a bug in the library, or is the Android system not supporting multiple file upload?

Kind regards

runtim commented 7 years ago

I have the same issue. Android 7.0.0 with Chrome 58.0.3029.83 that only one photo pre-load after selecting multiple ones.. iOS with Safari and Chrome doesn't have any issues.

runtim commented 7 years ago

This appears to be a file picker issue on Android. Using the stock picker, I was able to upload multiple files now.

jayarjo commented 7 years ago

We do not constrain file selection on Android in any way. Also we cannot affect default file picker.

PreachedMeat commented 7 years ago

This is also true for a lot of older mobile browsers who do not support the 'multiple' attribute of the input='file' element. Browsers who do support it sometimes don't fare well with the 'accept' attribute. And indeed that is before the file selection pickers on android. Some are just not capable of selecting multiple files for a given multiple input, while an other might.