You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/07/20 13:02:11 UTC
[GitHub] [cordova-plugin-inappbrowser] breautek commented on issue #753: Issue with Cookie
breautek commented on issue #753:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/753#issuecomment-661025005
> how would you define a third party cookie?
Third party cookies are cookies set from a different origin. Your cordova webview will either have an origin of `null` or if you're using schemes on cordova-ios, it will be set to your scheme (e.g: `app://localhost`).
> it used to work fine with UIWebview. But with WKWebview, things are breaking.
`WKWebView` has added a lot restrictions surrounding cookies. [More restrictions](https://www.adexchanger.com/privacy/apple-wwdc-2020-a-version-of-intelligent-tracking-prevention-is-coming-to-the-app-world/) may come to iOS in iOS 14 via ITP.
Unfortunately this is something outside of Cordova's control. I'd consider moving away from cookies as a storage mechanism if possible. In my apps, I use HTTP headers to send authentication tokens, and I store them in a flat file using the `cordova-plugin-file`. Other storage methods is also suitable depending on your use cases.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org