apache / cordova-ios

Apache Cordova iOS
https://cordova.apache.org/
Apache License 2.0
2.15k stars 986 forks source link

Cookies are not working after upgrading to Cordova@6.1.1 #995

Closed vvsou862 closed 3 years ago

vvsou862 commented 3 years ago

Issue Type

Description

Information

Recently i updated my app to Cordova@6.1.1 ,configured Custom Url Schema as app://test.xxx.com and also enabled CORS according to https://breautek.com/2020/07/14/enabling-cors/. Issue is underlying cookie is not being sent with webapi request even though i have set Access-Control-Allow-Credentials to true from server response and withCredentials to true while sending request. Please help why with new update, cookies are not being sent to the request cordova-plugin-wkwebview-inject-cookie also did not give any luck .

Command or Code

Environment, Platform, Device

Cordova@6.1.1 ipad iOS 14

Version information

Cordova@6.1.1 XCODE 12.0.1

Checklist

NiklasMerz commented 3 years ago

iOS 14 had some changes for blocking cookies. Please check out #922 and some other information on the internet.

This has probably nothing to do with the upgraded version of cordova-ios.