A comprehensive Expo module for managing push notifications in React Native and Expo apps. Current version 56.0.16 provides APIs to fetch push notification tokens, and to present, schedule, receive, and respond to notifications. It supports local and remote (push) notifications, notification channels (Android), and notification categories (interactive buttons). Includes TypeScript types. Part of the Expo ecosystem, requiring 'expo' as a peer dependency. Released ~monthly, often breaking with Expo SDK version bumps. Key differentiator: cross-platform push notification management integrated with Expo's build system, eliminating native code configuration for managed workflows.
npm install expo-notificationsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to request permissions, get an Expo push token, schedule a local notification, and listen for notification responses.
Use 'addNotificationResponseReceivedListener' instead.
Remove 'experienceId' argument; set 'owner' and 'projectId' in app.json / app.config.js.
Replace 'timeInterval' with 'seconds' in trigger objects.
Use 'addNotificationResponseReceivedListener'.
Use 'setNotificationChannelAsync' to create a channel before scheduling notifications.
Test on physical device for push notifications.
Use a development build or EAS Build for simulators.
Use: 'import { getExpoPushTokenAsync } from 'expo-notifications''Use 'addNotificationResponseReceivedListener'.
Ensure TypeScript usage: 'import { AndroidImportance } from 'expo-notifications';' and the module exports it.