@coeps/capacitor-plugin-ios-cookie-mover
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

@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

CookieMoverPluginOptions

Readme

Keywords

Package Sidebar

Install

npm i @coeps/capacitor-plugin-ios-cookie-mover

Weekly Downloads

4

Version

0.0.4

License

MIT

Unpacked Size

30 kB

Total Files

28

Last publish

Collaborators

  • coeps