klaviyo-sdk-capacitor-plugin
TypeScript icon, indicating that this package has built-in type declarations

2.2.1 • Public • Published

klaviyo-sdk-capacitor-plugin

Capacitor Plugin for Klaviyo SDK

Install

npm install klaviyo-sdk-capacitor-plugin
npx cap sync

API

initSDK(...)

initSDK(options: { klaviyoKey: string; }) => Promise<{ result: boolean; }>
Param Type
options { klaviyoKey: string; }

Returns: Promise<{ result: boolean; }>


setUser(...)

setUser(options: { email: string; firstName: string; lastName: string; }) => Promise<{ result: boolean; }>
Param Type
options { email: string; firstName: string; lastName: string; }

Returns: Promise<{ result: boolean; }>


requestPushPermission()

requestPushPermission() => Promise<{ result: boolean; }>

Returns: Promise<{ result: boolean; }>


setPushToken(...)

setPushToken(options: { token: string; }) => Promise<{ token: string; }>
Param Type
options { token: string; }

Returns: Promise<{ token: string; }>


resetProfile()

resetProfile() => Promise<{ result: boolean; }>

Returns: Promise<{ result: boolean; }>


Readme

Keywords

Package Sidebar

Install

npm i klaviyo-sdk-capacitor-plugin

Weekly Downloads

16

Version

2.2.1

License

MIT

Unpacked Size

28.8 kB

Total Files

27

Last publish

Collaborators

  • jemantilla