capacitor-salesforce-marketingcloud
v0.3.15
Published
Push notifications with Salesforce Marketing Cloud
Downloads
63
Readme
@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>