expo-notifications
Version:
Provides an API to fetch push notification tokens and to present, schedule, receive, and respond to notifications.
14 lines • 741 B
JavaScript
/**
* Assigns the channel group configuration to a channel group of a specified name (creating it if need be).
* @param groupId The channel group's identifier.
* @param group Object representing the channel group configuration.
* @return A `Promise` resolving to the object (of type [`NotificationChannelGroup`](#notificationchannelgroup))
* describing the modified channel group or to `null` if the platform does not support notification channels.
* @platform android
* @header channels
*/
export default async function setNotificationChannelGroupAsync(groupId, group) {
console.debug('Notification channels feature is only supported on Android.');
return null;
}
//# sourceMappingURL=setNotificationChannelGroupAsync.js.map