UNPKG

expo-notifications

Version:
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, }