Windows Phone's
WebView
perhaps does not file upload itself — see here,
File uploading not possible from inside a Webview?[
^]. Maybe Microsoft did not want users to upload the content, using WebView.
An alternate to this would be to use your own
HttpClient
object and then upload the file to that Uri by encoding it to multipart form data. POST request can be issued from there, and knowing the URL or Uri you can easily upload the files, if you handle the JavaScript code such as
btn.onclick = uploadFile();
etc. It comes to me with a shock, that Microsoft locked out file uploads. :laugh:
HttpClient class - UWP app developer | Microsoft Docs[
^]