expo-notifications
Version:
Provides an API to fetch push notification tokens and to present, schedule, receive, and respond to notifications.
16 lines • 534 B
JavaScript
import { UnavailabilityError } from 'expo-modules-core';
const notificationCategoriesModule = {
async getNotificationCategoriesAsync() {
return [];
},
async setNotificationCategoryAsync() {
throw new UnavailabilityError('Notifications', 'setNotificationCategoryAsync');
},
async deleteNotificationCategoryAsync() {
return false;
},
addListener() { },
removeListeners() { },
};
export default notificationCategoriesModule;
//# sourceMappingURL=NotificationCategoriesModule.js.map