[notifications] Specific notificationPressed data type including action

This commit is contained in:
Chris Bianca
2018-02-22 17:25:15 +00:00
parent 303cb4c428
commit 8e84dd576b
4 changed files with 101 additions and 65 deletions

View File

@@ -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;