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