capacitor
capacitor copied to clipboard
feat:
Feature Request
Description
CapacitorCookies.setCookie should allow setting of attributes Secure, Domain, Max-Age, SameSite and HttpOnly
Platform(s)
Android, iOS
Preferred Solution
Extract values for these attributes and apply them when setting the cookie
Alternatives
For Android, this could be achieved by including the atttrbutes in the value. That will not work for iOS because the iOS implementation applies % encoding to the value.
Additional Context
The solution to #6860 addresses this as well