0.0.1 • Published 27 days ago
capacitor-notificationhandler v0.0.1
capacitor-notificationhandler
Push notification Handler
Install
npm install capacitor-notificationhandler
npx cap sync
API
echo(...)
addListener([eventName: 'pushNotificationActionPerformed', listenerFunc: (info: any) => void], ...)
- Interfaces
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options | { value: string; } |
Returns: Promise<{ value: string; }>
addListener(eventName: 'pushNotificationActionPerformed', listenerFunc: (info: any) => void, ...)
addListener(eventName: "pushNotificationActionPerformed", listenerFunc: (info: any) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
Param | Type |
---|---|
args | eventName: 'pushNotificationActionPerformed', listenerFunc: (info: any) => void |
Returns: Promise<PluginListenerHandle> & PluginListenerHandle
Interfaces
PluginListenerHandle
Prop | Type |
---|---|
remove | () => Promise<void> |
0.0.1
27 days ago