2.2.1 • Published 11 months ago

klaviyo-sdk-capacitor-plugin v2.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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; }>
ParamType
options{ klaviyoKey: string; }

Returns: Promise<{ result: boolean; }>


setUser(...)

setUser(options: { email: string; firstName: string; lastName: string; }) => Promise<{ result: boolean; }>
ParamType
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; }>
ParamType
options{ token: string; }

Returns: Promise<{ token: string; }>


resetProfile()

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

Returns: Promise<{ result: boolean; }>


2.1.9

12 months ago

2.2.1

11 months ago

2.1.2

12 months ago

2.2.0

12 months ago

2.1.1

12 months ago

2.1.4

12 months ago

2.1.3

12 months ago

2.1.6

12 months ago

2.1.5

12 months ago

2.1.8

12 months ago

2.1.7

12 months ago

2.1.0

1 year ago

2.0.0

1 year ago

1.0.0

2 years ago