Input type file android

I am uploading a an image on my app with:

<input type="file" accept="image/*">

But i have seen that it doesn’t work on every device, (Ex: on android 4.4.2 does not work)

Is there a way to achive that?

thanks

Up,
is there any tips to get work with it ?

Thanks by advance

You need to use the file transfer plugin for upload images. Cordova app does not work like a website. You need to call the image picker plugin and then use file transfer plugin to upload files.

Ok thanks, but even with Android 5 ?

yes. it is an app and not a website. both behave differently.

1 Like