expo-notifications
Version:
Notifications module
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