expo-notifications
Version:
Provides an API to fetch push notification tokens and to present, schedule, receive, and respond to notifications.
12 lines • 491 B
JavaScript
/**
* Fetches information about all known notification channels.
* @return A Promise which resolves to an array of channels. On platforms that do not support notification channels,
* it will always resolve to an empty array.
* @platform android
* @header channels
*/
export default async function getNotificationChannelsAsync() {
console.debug('Notification channels feature is only supported on Android.');
return [];
}
//# sourceMappingURL=getNotificationChannelsAsync.js.map