@coeps/capacitor-plugin-ios-cookie-mover
This capacitor plugin can move cookies back and forth between NSHTTPCookieStorage and WKHTTPCookieStore to solve some iOS cookie issues.
Install
npm install @coeps/capacitor-plugin-ios-cookie-mover
npx cap sync
API
syncWkCookiesToNsCookieStore(...)
syncWkCookiesToNsCookieStore(options: CookieMoverPluginOptions) => Promise<CookieMoverPluginSyncResult>
Returns: Promise<CookieMoverPluginSyncResult>
syncNsCookiesToWkCookieStore(...)
syncNsCookiesToWkCookieStore(options: CookieMoverPluginOptions) => Promise<CookieMoverPluginSyncResult>
Returns: Promise<CookieMoverPluginSyncResult>
Interfaces
CookieMoverPluginSyncResult
Prop |
Type |
preActionCookies |
Cookie[] |
postActionCookies |
Cookie[] |
Cookie
CookieMoverPluginOptions