expo-notifications
Version:
Provides an API to fetch push notification tokens and to present, schedule, receive, and respond to notifications.
9 lines • 549 B
JavaScript
import { UnavailabilityError } from 'expo-modules-core';
import NotificationChannelGroupManager from './NotificationChannelGroupManager';
export default async function getNotificationChannelGroupAsync(groupId) {
if (!NotificationChannelGroupManager.getNotificationChannelGroupAsync) {
throw new UnavailabilityError('Notifications', 'getNotificationChannelGroupAsync');
}
return await NotificationChannelGroupManager.getNotificationChannelGroupAsync(groupId);
}
//# sourceMappingURL=getNotificationChannelGroupAsync.android.js.map