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) 320 B
import { ProxyNativeModule } from 'expo-modules-core'; import { NotificationBehavior } from './Notifications.types'; export interface NotificationsHandlerModule extends ProxyNativeModule { handleNotificationAsync?: ( notificationId: string, notificationBehavior: NotificationBehavior ) => Promise<void>; }