Ionic + Cordova InappBrowser - Input type=file not working


#1

The app simply shows a webpage using Cordova InAppBrowser. The webpage uses <input type=file> to upload files.

When I open the webpage in chrome on my android device, the tap on input opens a menu that displays camera and documents options. But when same webpage is opened using InAppBrowser it does not show the menu.

I have tried _self and _blank options with InAppBrowser. I have also tried using crosswalk browser but no luck. Cordova version 6.0.0, Android version 5.1.1 and I am using this ngCordova plugin

I currently do not have any whitelisting. Do I need whitelist plugin?

Has anyone managed to get this working?


#2

Standard InAppBrowser doesn’t use crosswalk so input type=file is not supported.
I am currently searching for a solution for this, i found inappbrowser with crosswalk but its giving me build errors: