File Upload doesn’t work on Mobiles
JavaScript
1
Posts
1
Posters
0
Views
1
Watching
-
I have created a small web app using HTML5 + AngularJS to upload custom files(such as with extension *.xyz). It works fine on Desktop browsers(IE, Firefox, Chrome). However on mobile browsers, it fails to detect the file and gives ‘Unsupported file format’ in android and iPhone only gives an option to select images. Is there a way we can upload the custom(*.xyz) files using ‘input’ element with type=file? How can I make file upload mobile browsers compatible?
Praveen Raghuvanshi Software Developer