Hi there, So on my app i'm using webview to open url in browser within app. Whenever i'm trying to upload a image on that site then it shows me this error
An unhandled type 'QList<QUrl>' was provided in FilePickerController::accepted(QVariant)
Item {
height: 700
width: 400
id: app
WebView {
anchors.fill: parent
url: "https://stackoverflow.com/questions/37935657/refused-to-load-the-image-because-it-violates-content-securtiy-policy-cordova"
}
}
I have given a link from stackoverflow just for testing purpose.
There is a chance that the website is not allowing upload image operation from "webview" or iframe environment.
Can you try using BrowserView? This is a little bit different than webview, it is using native browser. We have a sample in AppStudio Desktop, where you can simply change the URL to test.
Erwin.
@ErwinSoekianto even BrowserView doesn't work. I have tried that as well
We are building a mobile application and do not want to use browser view as it allows you to break out of the app into the device browser. Is there no solution to make Webview work? Browser view does work but it is not suitable for our use unless there is a way to suppress the header and footer in order for the user to not navigate away from the web page.