react-native-notifications
Version:
Advanced Push Notifications (Silent, interactive notifications) for iOS & Android
19 lines (18 loc) • 499 B
TypeScript
import { Notification } from '../DTO/Notification';
import { NotificationActionResponse } from './NotificationActionResponse';
export interface Registered {
deviceToken: string;
}
export interface RegistrationError {
code: string;
domain: string;
localizedDescription: string;
}
export interface RegisteredPushKit {
pushKitToken: string;
}
export interface NotificationResponse {
identifier: string;
notification: Notification;
action?: NotificationActionResponse;
}