Using trigger.io on Android one can't upload files using the plain HTML <input type="file">
element. On iOS this works fine.
The underlying problem seems to stem from the webview not having a native filepicker, and trigger.io haven't implemented one for their webview.
This question shows a solution on native (non trigger.io) apps: File Upload in WebView
Anyone know if this is possible to solve?
(Without using forge.file.getImage
, which is what we use now. The problem with forge.file.getImage
is that the file isn't a normal Javascript File object, can't be uploaded using FormData/XHR2, etc).