UNPKG

expo-notifications

Version:

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

13 lines 653 B
/** * Fetches information about a single notification channel. * @param channelId The channel's identifier. * @return A Promise which resolves to the channel object (of type [`NotificationChannel`](#notificationchannel)) or to `null` * if there was no channel found for this identifier. On platforms that do not support notification channels, it will always resolve to `null`. * @platform android * @header channels */ export default async function getNotificationChannelAsync(channelId) { console.debug('Notification channels feature is only supported on Android.'); return null; } //# sourceMappingURL=getNotificationChannelAsync.js.map