Closed Nasmar closed 1 year ago
This issue may need more information before it can be addressed. In particular, it will need a reliable Code Reproduction that demonstrates the issue. Please see the Contributing Guide for how to create a Code Reproduction. Thanks! Ionitron 💙
Can you upload a sample project that we can use to test?
closing due to the lack of reproduction
I will make a sample project on it. Should i repost or is it fine here?
I am also having this issue.
@robmarshall look here for the solution https://github.com/ionic-team/capacitor/issues/6809
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Bug Report
Capacitor Version
Platform(s)
iOS
Current Behavior
We cannot achieve persistent storage of HttpOnly cookies in our iOS app using CapacitorCookies and CapacitorHttp plugins.
Our app successfully retains cookies and functions as intended under normal usage. However, when the app is terminated and restarted, it fails to remember the cookies, resulting in users being prompted to log in again.
Note that our Android app functions correctly, retaining the cookies as intended.
We are utilizing the native Capacitor Http module to make API calls.
Expected Behavior
When shutting the iOS app down, we expect that the app can retain the http only cookie to use our cookie authentication
Code Reproduction
capacitor.config.ts:
Info.plist:
Other Technical Details
npm --version
output: 9.6.7node --version
output: 20.3.0pod --version
output (iOS issues only): 1.12.1