I have a hybrid app built using cordova and angularjs, for Android I run the app using crosswalk.
I've been scouring the internet to find the solution for the html5 file input to allow selection of multiple files.
I'm using the following element for file selecting:
<input type="file" multiple="multiple" name="files[]" />
I am running Android Lollipop version 5.1.1 and Crosswalk version 20, I have tested with Crosswalk version 18 and 19 also. Chrome is installed on my device running the latest version although I don't think that makes a difference.
When I click the input element above I get the expected dialog asking me to select from my Documents or Camera. If I choose to select from my Documents then I am only able to select single files, in this case images. This is true for every App that I can select images from, so the default android 'Images', 'Videos', 'Audio', etc and external Apps such as Google Photos - All only allow me to select one single file at a time.
In the image below you can see the files listed, a long press on each tile does not add the file to a multiple selection.
This works on the IOS version of the App.
After digging through all the material I can find online it seems that the multiple attribute is supported on Android 5+ running Chrome 49+.
I'm unsure if this is a crosswalk browser implementation or Android Operating System issue, or something else? Could anyone advise.
Edit
Just to confirm this does not work with or without using Crosswalk.