UNPKG

expo-notifications

Version:

Provides an API to fetch push notification tokens and to present, schedule, receive, and respond to notifications.

11 lines (8 loc) 330 B
import type { ProxyNativeModule } from 'expo-modules-core'; import type { NotificationBehavior } from './Notifications.types'; export interface NotificationsHandlerModule extends ProxyNativeModule { handleNotificationAsync?: ( notificationId: string, notificationBehavior: NotificationBehavior ) => Promise<void>; }