A Capacitor plugin wrapper for the Pendo Mobile SDK, providing seamless integration with iOS, Android, and Web platforms.
npm install capacitor-pendo-pluginA Capacitor plugin wrapper for the Pendo Mobile SDK, providing seamless integration with iOS, Android, and Web platforms.
``bash`
npm install capacitor-pendo-plugin
npx cap sync
* echo(...)
* setup(...)
* startSession(...)
* track(...)
`typescript`
echo(options: { value: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
--------------------
`typescript`
setup(options: { appKey: string; }) => Promise
| Param | Type |
| ------------- | -------------------------------- |
| options | { appKey: string; } |
--------------------
`typescript`
startSession(options: { visitorId: string; accountId: string; visitorData?: any; accountData?: any; }) => Promise
| Param | Type |
| ------------- | -------------------------------------------------------------------------------------------- |
| options | { visitorId: string; accountId: string; visitorData?: any; accountData?: any; } |
--------------------
`typescript`
track(options: { event: string; properties?: any; }) => Promise
| Param | Type |
| ------------- | ------------------------------------------------- |
| options` | { event: string; properties?: any; } |
--------------------