Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | import type { FirebaseMessagingTypes } from '@react-native-firebase/messaging';
import type { RequestCategory } from '@/types/request';
export interface NotificationPayload {
title?: string;
body?: string;
data?: Record<string, unknown>;
}
export interface PermissionStatus {
authorized: boolean;
status: string;
}
export interface NotificationData {
category: RequestCategory | string;
ticketId?: string;
[key: string]: unknown;
}
// Use Firebase's RemoteMessage type directly
export type RemoteMessage = FirebaseMessagingTypes.RemoteMessage;
|