capacitor-notificationhandler
v0.0.1
Published
Push notification Handler
Downloads
2
Readme
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> |