UNPKG

@elemental-design/expo-notifications

Version:
9 lines 494 B
import { UnavailabilityError } from '@unimodules/core'; import NotificationScheduler from './NotificationScheduler'; export default async function cancelScheduledNotificationAsync() { if (!NotificationScheduler.cancelScheduledNotificationAsync) { throw new UnavailabilityError('Notifications', 'cancelScheduledNotificationAsync'); } return await NotificationScheduler.cancelAllScheduledNotificationsAsync(); } //# sourceMappingURL=cancelAllScheduledNotificationsAsync.js.map