expo-quest-notifications
Version:
A fork of [`expo-notifications`](https://github.com/expo/expo/tree/main/packages/expo-notifications) that provides two implementations: - The default `expo-notifications` for Android and iOS platforms. - A Meta Quest-compatible implementation that uses th
13 lines (10 loc) • 344 B
text/typescript
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,
}