UNPKG

expo-notifications

Version:

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

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