UNPKG

expo-notifications

Version:

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

12 lines 461 B
import { Platform } from 'expo-modules-core'; let warningHasBeenShown = false; export default { addListener: () => { if (!warningHasBeenShown) { console.warn(`[expo-notifications] Emitting notifications is not yet fully supported on ${Platform.OS}. Adding a listener will have no effect.`); warningHasBeenShown = true; } }, removeListeners: () => { }, }; //# sourceMappingURL=NotificationsEmitterModule.js.map