Files
time_to_leave/apps/mobile/src/services/expoNotifications.ts
T
fegger 316e5def72 Refactor mobile to fix dependency resolution and add polyfills
Update Expo and React dependencies to compatible versions. Create a
custom Metro config to resolve module conflicts in the workspace and
map Jest modules to local node_modules.

Add a SharedArrayBuffer polyfill for older runtimes and introduce an
adapter for expo-notifications to abstract direct imports.
2026-05-12 22:29:38 +02:00

13 lines
921 B
TypeScript

export { requestPermissionsAsync } from 'expo-notifications/build/NotificationPermissions.js';
export { setNotificationHandler } from 'expo-notifications/build/NotificationsHandler.js';
export { default as getAllScheduledNotificationsAsync } from 'expo-notifications/build/getAllScheduledNotificationsAsync.js';
export { default as cancelScheduledNotificationAsync } from 'expo-notifications/build/cancelScheduledNotificationAsync.js';
export { default as cancelAllScheduledNotificationsAsync } from 'expo-notifications/build/cancelAllScheduledNotificationsAsync.js';
export { default as scheduleNotificationAsync } from 'expo-notifications/build/scheduleNotificationAsync.js';
export { SchedulableTriggerInputTypes } from 'expo-notifications/build/Notifications.types.js';
export type {
NotificationBehavior,
NotificationRequest,
NotificationRequestInput,
} from 'expo-notifications/build/Notifications.types.js';