expo-notifications
Version:
Provides an API to fetch push notification tokens and to present, schedule, receive, and respond to notifications.
11 lines • 428 B
TypeScript
import { ProxyNativeModule } from 'expo-modules-core';
export interface BackgroundNotificationTasksModule extends ProxyNativeModule {
registerTaskAsync: (taskName: string) => Promise<null>;
unregisterTaskAsync: (taskName: string) => Promise<null>;
}
export declare enum BackgroundNotificationResult {
NoData = 1,
NewData = 2,
Failed = 3
}
//# sourceMappingURL=BackgroundNotificationTasksModule.types.d.ts.map