UNPKG

expo-notifications

Version:

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

9 lines 574 B
import { ProxyNativeModule } from 'expo-modules-core'; import { Notification, NotificationContentInput } from './Notifications.types'; export interface NotificationPresenterModule extends ProxyNativeModule { getPresentedNotificationsAsync?: () => Promise<Notification[]>; presentNotificationAsync?: (identifier: string, content: NotificationContentInput) => Promise<string>; dismissNotificationAsync?: (identifier: string) => Promise<void>; dismissAllNotificationsAsync?: () => Promise<void>; } //# sourceMappingURL=NotificationPresenterModule.types.d.ts.map