No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Access external links with WKWebView (OpenURL)

    Framework
    cordova externallink ios wkwebview
    2
    3
    513
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SidneiJSilva
      SidneiJSilva last edited by

      I’m having trouble accessing external links when I make the APP for IOS.

      My APP pulls the list of posts from Facebook of my client and the behavior of the APP by default would be to open the post page when I click on it.

      When I add the Ionic WebView or Cordova WKWebView plugin, these URLs do not open.

      I am using Quasar’s OpenURL to do this.

      I have already researched a lot on the subject and I would like to know if there is any solution to this situation.

      lines added to XML:

      XML using IONIC WEBVIEW:
      <preference name = “iosScheme” value = “httpsionic” />
      <preference name = “ScrollEnabled” value = “true” />

      XML using CORDOVA WKWEBVIEW
      <feature name = “CDVWKWebViewEngine”>
         <param name = “ios-package” value = “CDVWKWebViewEngine” />
      </feature>

      <preference name = “CordovaWebViewEngine” value = “CDVWKWebViewEngine” />

      1 Reply Last reply Reply Quote 0
      • SidneiJSilva
        SidneiJSilva last edited by

        The most actual information that I found is in https://cordova.apache.org/news/2018/08/01/future-cordova-ios-webview.html

        Here say that WKWEBVIEW has a many of limitations, such as: "XmlHttpRequests don’t work, because of Cross-Origin Resource Sharing issue (CORS). "

        It’s still not working?

        1 Reply Last reply Reply Quote 0
        • metalsadman
          metalsadman last edited by

          Your server should handle the cors, not your frontend.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post