UNPKG

expo-notifications

Version:

Provides an API to fetch push notification tokens and to present, schedule, receive, and respond to notifications.

9 lines 523 B
import { UnavailabilityError } from 'expo-modules-core'; import NotificationChannelManager from './NotificationChannelManager'; export default async function deleteNotificationChannelAsync(channelId) { if (!NotificationChannelManager.deleteNotificationChannelAsync) { throw new UnavailabilityError('Notifications', 'deleteNotificationChannelAsync'); } return await NotificationChannelManager.deleteNotificationChannelAsync(channelId); } //# sourceMappingURL=deleteNotificationChannelAsync.android.js.map