mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-24 04:24:52 +08:00
[notifications] Specific notificationPressed data type including action
This commit is contained in:
@@ -9,6 +9,11 @@ import { generatePushID, isObject } from '../../utils';
|
||||
|
||||
import type { NativeNotification } from './types';
|
||||
|
||||
export type NotificationPressed = {
|
||||
action: string,
|
||||
notification: Notification,
|
||||
};
|
||||
|
||||
export default class Notification {
|
||||
// iOS 8/9 | 10+ | Android
|
||||
_android: AndroidNotification;
|
||||
|
||||
Reference in New Issue
Block a user