0.0.1 • Published 5 months ago

call-notifications v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

call-notifications

Desing for notifications

Install

npm install call-notifications
npx cap sync

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>


addListeners(...)

addListeners(options: { onAccept?: () => void; }) => Promise<void>
ParamType
options{ onAccept?: (() => void); }

showCallNotification(...)

showCallNotification(options: { title: string; body: string; image: string; }) => Promise<{ status: string; }>
ParamType
options{ title: string; body: string; image: string; }

Returns: Promise<{ status: string; }>