Skip to content

Winners-Locker/klaviyo-sdk-capacitor-plugin

Repository files navigation

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; }>


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •