Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-105203

Using WebView to catch errors on Android.

    XMLWordPrintable

Details

    • Android

    Description

      User informed following:

      "

      We are using QML webview to load webpages which will be running in the local webserver in Android device. To load the webpages certificate needs to be installed in Android device. If certificate is not installed in we are getting the error codes in windows i.e "ERR_CERT_AUTHORITY_INVALID"
      but in android we were not able to capture it.
      We are using below example to capture the error codes in Windows but the same is not working in android

      WebView{
      id: webView
      anchors.fill: parent
      url: //local webserver url
      onLoadingChanged: {
      if (loadRequest.errorString){
      console.log(loadRequest.errorString);
      }
      }
      }

      "
      Could this error catching feature be applied to Android too?

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              stromme Christian
              tero.pelkonen Tero Pelkonen
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes