expo-notifications
Version:
Provides an API to fetch push notification tokens and to present, schedule, receive, and respond to notifications.
9 lines • 523 B
JavaScript
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