0.3.15 • Published 1 month ago
capacitor-salesforce-marketingcloud v0.3.15
@capacitor-community/
Push notifications with Salesforce Marketing Cloud
Install
npm install @capacitor-community/capacitor-salesforce-marketingcloud
npx cap sync
API
enablePush()
enablePush() => Promise<void>
disablePush()
disablePush() => Promise<void>
isPushEnabled()
isPushEnabled() => Promise<boolean>
Returns: Promise<boolean>
setContactKey(...)
setContactKey(options: { username: string; }) => Promise<{ result: boolean; }>
Param | Type |
---|---|
options | { username: string; } |
Returns: Promise<{ result: boolean; }>
logDebugInformation()
logDebugInformation() => Promise<void>