capacitor icon indicating copy to clipboard operation
capacitor copied to clipboard

feat:

Open nickredding opened this issue 2 years ago • 1 comments

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

nickredding avatar Sep 11 '23 19:09 nickredding

The solution to #6860 addresses this as well

nickredding avatar Sep 12 '23 22:09 nickredding