str-fcm-bridge
v1.0.0
Published
Bridges between data fcm notifs on android native and sending those through listener on plugin
Maintainers
Readme
str-fcm-bridge
Bridges between data fcm notifs on android native and sending those through listener on plugin
Install
npm install str-fcm-bridge
npx cap syncAPI
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
addListener('notificationReceived', ...)
addListener(eventName: 'notificationReceived', listenerFunc: (message: any) => void) => Promise<any>Fired whenever the Android hardware back button is pressed.
| Param | Type |
| ------------------ | -------------------------------------- |
| eventName | 'notificationReceived' |
| listenerFunc | (message: any) => void |
Returns: Promise<any>
