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.
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