Git Product home page Git Product logo

Comments (6)

drogerie21 avatar drogerie21 commented on July 19, 2024 1

No, we have used the WKWebview before.

Hi again. We checked again and we found that the inAppBrowser-Plugin has used the UIWebview before (we didn´t know that you can configure this and assumed that the plugin uses the WKWebview too). The new InAppBrowser-Plugin (4.0.0) drops support for the UIWebview. If we configure the inAppBrowser-Plugin do use the WKWebview we cannot get the cookies even with cordova-ios 5.1.1.
Do you know if there are any chances to get the Cookies from a third party service (so cross origin) within a wkwebview scenario?

from cordova-cookie-emperor.

RTK avatar RTK commented on July 19, 2024

I think it may be the case because cordova-ios removed the usage of UIWebview an forces the WKWebview now. Can you confirm, that you have used the UIWebview before?

Furthermore, as stated here https://stackoverflow.com/questions/33156567/getting-all-cookies-from-wkwebview, the access to cookies should work the same way but values may be added delayed. Can you confirm, that the expected cookies are added sometime after?

from cordova-cookie-emperor.

drogerie21 avatar drogerie21 commented on July 19, 2024

No, we have used the WKWebview before.
What do you mean that values may be added delayed? We waited a couple of seconds, but the cookies could not be found...

from cordova-cookie-emperor.

drogerie21 avatar drogerie21 commented on July 19, 2024

This is most probably a problem with the new release of the inappbrowser (and cordova-ios in turn only works with the new inappbrowser 4.0.0). We are trying to get cookies that are set by preauth-site, that is opened by the inappbrowser. See:
apache/cordova-plugin-inappbrowser#753

from cordova-cookie-emperor.

RTK avatar RTK commented on July 19, 2024

So it comes down to the InAppBrowser plugin for iOS not writing cookies into the main Cordova-webview? If so, then this plugin works correctly? Unfortunately I cannot see a solution as long as there are multiple WKWebview instances involved which do not share their cookies.

from cordova-cookie-emperor.

ChrisTomAlx avatar ChrisTomAlx commented on July 19, 2024

any luck with this issue? I am facing a similar problem

from cordova-cookie-emperor.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.