expo-notifications
Version:
Provides an API to fetch push notification tokens and to present, schedule, receive, and respond to notifications.
11 lines • 522 B
TypeScript
import { NotificationCategory } from './Notifications.types';
/**
* Fetches information about all known notification categories.
* @return A Promise which resolves to an array of `NotificationCategory`s. On platforms that do not support notification channels,
* it will always resolve to an empty array.
* @platform android
* @platform ios
* @header categories
*/
export default function getNotificationCategoriesAsync(): Promise<NotificationCategory[]>;
//# sourceMappingURL=getNotificationCategoriesAsync.d.ts.map