Capacitor plugin for Iterable SDK
npm install @joinflux/capacitor-iterable
npx cap sync
initialize(initOpts: { apiKey: string; }) => Promise<void>
Param | Type |
---|---|
initOpts |
{ apiKey: string; } |
setEmail(setEmailOpts: { email: string; }) => Promise<void>
Param | Type |
---|---|
setEmailOpts |
{ email: string; } |
setUserId(setUserIdOpts: { userId: string; }) => Promise<void>
Param | Type |
---|---|
setUserIdOpts |
{ userId: string; } |
register(registerOpts: { token: string; }) => Promise<void>
Param | Type |
---|---|
registerOpts |
{ token: string; } |