Input file selector does not work

Hi there,

I have a problem with the input[type=file] in my ionic app.

On a browser on my mac the file selector works, but when i open the app on my mobile and i try to pick a file it doesn’t work.

Has anyone the same problem and maybe a fix for it?

Hi stefanpsm,

are you testing the input file on a iPhone or on a Android Device? And which version do you use?

Android 4.4 has some trouble with the file input type.

Hi Ciraxis,

I have the problem on a iPhone with iOS 7, a Sony Xperia Z with Android 4.3 and a iPad with iOS 6.

By iOS(Safari browser) happens nothing when clicking the input file.

By Android(Chrome browser) is the input file button active when clicking, but the file selector activity won’t start.

@Ciraxis I found out a way to make it work.

In the Ionic repo is a javascript file named “poly.js”. Include this and it works!

I am using ionic-buncle.js, v1.0.0-beta.3,and the some problem still exists on my android 4.2 brower.

Hei, any solution to the problem ?

Hello everyone, I had the same issue and finally found a way to solve it (at least for me). I used the Ionic Crosswalk.
Just followed these steps: and worked fine!

But that will work for android, what about ios?

Where can i find this file in the project folders?

same problem with me :frowning: