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

    iOS : UIWebView deprecation, cookies support

    Framework
    authentication cookies ios uiwebview wkwebview
    2
    2
    503
    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.
    • Frosty-Z
      Frosty-Z last edited by Frosty-Z

      Hello,

      I have a Quasar-based project using Cordova mode to build hybrid app for Android and iOS.

      Since end of august, when submitting an app update to the App Store, I get this warning:

      ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs .
      See https://developer.apple.com/documentation/uikit/uiwebview for more information.

      ☹

      I’ve then tried to switch to WKWebView (as suggested everywhere I could search), using cordova-plugin-wkwebview-engine.

      However, I couldn’t make it work due to a blocking problem with a cookie-based authentication to a REST API server: cookies were not stored by the app anymore.

      😩

      Furthermore, it seems that until cordova-ios 6.0 is released, some references to UIWebView will still remain in cordova-ios, which could lead to app rejection by Apple.
      By reading cordova-ios discussions, it’s not even clear if cordova-ios 6.0 will be released before Apple decides to reject submissions referencing UIWebView, since no estimated date is available for both events.

      😭

      OTOH, Capacitor seems a very interesting option: this blog article from Ionic states:

      On September 4th, 2019, the Ionic team shipped a new Capacitor release […] that removed references to UIWebView.

      BTW it seems to bring many nice improvements compared to Cordova’s approach.

      However, the problem with failing cookie-based auth still remains.

      😣

      It looks like that I have to adapt the app & its REST API to use a “non-cookie-based” authentication, like JWT.

      Is anyone struggling with the same issues?

      Is this path (using Capacitor + JWT) a good way to go?

      1 Reply Last reply Reply Quote 1
      • R
        ryanmasonjar last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • First post
          Last post