UNPKG

expo-notifications

Version:

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

13 lines (10 loc) 344 B
import { ProxyNativeModule } from 'expo-modules-core'; export interface BackgroundNotificationTasksModule extends ProxyNativeModule { registerTaskAsync: (taskName: string) => Promise<null>; unregisterTaskAsync: (taskName: string) => Promise<null>; } export enum BackgroundNotificationResult { NoData = 1, NewData = 2, Failed = 3, }