aecvargas opened a new issue #1065:
URL: https://github.com/apache/cordova-ios/issues/1065
I've recently upgraded to WKWebView from UIWebView and this worked fine then
and it works on android too. I have this input file element in one of my pages.
`<input type="file" class="upload" id="file-upload-{{line.line_id}}"
onchange="angular.element(this).scope().onFileSelect(angular.element(this).scope().$index);"/>`
In `onFileSelect` I select the files uploaded to be sent to my server via
`$http.post`
```
var element_name = "file-upload-" + $scope.lines[index].line_id;
var element = document.getElementById(element_name);
var files = element.files;
```
However, `files` is just of type `blob`, although it seems to have the mime
type. The filename is also just "Blob" rather than the actual filename from the
file browser on iOS.
Has there been a change to this on WKWebView where this is handled
differently? How do I get a hold of the actual file uploaded on the `input`
field for WKWebView?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]