0.0.1 • Published 27 days ago

capacitor-notificationhandler v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
27 days ago

capacitor-notificationhandler

Push notification Handler

Install

npm install capacitor-notificationhandler
npx cap sync

API

echo(...)

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

Returns: Promise<{ value: string; }>


addListener(eventName: 'pushNotificationActionPerformed', listenerFunc: (info: any) => void, ...)

addListener(eventName: "pushNotificationActionPerformed", listenerFunc: (info: any) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
ParamType
argseventName: 'pushNotificationActionPerformed', listenerFunc: (info: any) => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle


Interfaces

PluginListenerHandle

PropType
remove() => Promise<void>
0.0.1

27 days ago