@coeps/capacitor-plugin-ios-cookie-mover
v0.0.4
Published
This capacitor plugin can move cookies back and forth between NSHTTPCookieStorage and WKHTTPCookieStore to solve some iOS cookie issues.
Downloads
2
Readme
@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>
| Param | Type |
| ------------- | ----------------------------------------------------------------------------- |
| options
| CookieMoverPluginOptions |
Returns: Promise<CookieMoverPluginSyncResult>
syncNsCookiesToWkCookieStore(...)
syncNsCookiesToWkCookieStore(options: CookieMoverPluginOptions) => Promise<CookieMoverPluginSyncResult>
| Param | Type |
| ------------- | ----------------------------------------------------------------------------- |
| options
| CookieMoverPluginOptions |
Returns: Promise<CookieMoverPluginSyncResult>
Interfaces
CookieMoverPluginSyncResult
| Prop | Type |
| ----------------------- | --------------------- |
| preActionCookies
| Cookie[] |
| postActionCookies
| Cookie[] |
Cookie
| Prop | Type |
| ---------- | ------------------- |
| name
| string |