background-silent-notif-handling
v1.0.0
Published
Handling for background silent notifs on iOS, android, and web
Downloads
4
Maintainers
Readme
background-silent-notif-handling
Handling for background silent notifs on iOS, android, and web
Install
npm install background-silent-notif-handling
npx cap syncAPI
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
addListener('silentPushReceived', ...)
addListener(eventName: 'silentPushReceived', listenerFunc: (event: { data: any; }) => void) => PluginListenerHandle| Param | Type |
| ------------------ | ----------------------------------------------- |
| eventName | 'silentPushReceived' |
| listenerFunc | (event: { data: any; }) => void |
Returns: PluginListenerHandle
Interfaces
PluginListenerHandle
| Prop | Type |
| ------------ | ----------------------------------------- |
| remove | () => Promise<void> |
