1.0.1 • Published 11 months ago
capacitor-plugin-klaviyo-push v1.0.1
capacitor-plugin-klaviyo-push
Handle push notifications for klaviyo on ios
Install
npm install capacitor-plugin-klaviyo-push
npx cap sync
API
api(...)
api(options: { apikey: string; api: Record<string, unknown>; }) => Promise<void>
Param | Type |
---|---|
options | { apikey: string; api: Record<string, unknown>; } |
identify(...)
identify(options: { email: string; }) => Promise<void>
Param | Type |
---|---|
options | { email: string; } |
assignToken(...)
assignToken(options: { token: string; }) => Promise<void>
Param | Type |
---|---|
options | { token: string; } |
handleNotification(...)
handleNotification(options: { notification: Record<string, unknown>; }) => Promise<void>
Param | Type |
---|---|
options | { notification: Record<string, unknown>; } |
sendEvent(...)
sendEvent(options: { name: string; detail: Record<string, unknown>; }) => Promise<void>
Param | Type |
---|---|
options | { name: string; detail: Record<string, unknown>; } |
Type Aliases
Record
Construct a type with a set of properties K of type T
{
}