npm.io
57.0.6 • Published 12h ago

expo-notifications

Licence
MIT
Version
57.0.6
Deps
5
Size
1.6 MB
Vulns
0
Weekly
0
Stars
50.6K

expo-notifications

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

Features

  • schedule a one-off notification for a specific date, or some time from now,
  • schedule a notification repeating in some time interval (or a calendar date match on iOS),
  • get and set application badge icon number,
  • fetch a native device push token so you can send push notifications with FCM and APNS,
  • fetch an Expo push token so you can send push notifications with Expo,
  • listen to incoming notifications in the foreground and background,
  • listen to interactions with notifications (tapping or dismissing),
  • handle notifications when the app is in foreground,
  • imperatively dismiss notifications from Notification Center/tray,
  • create, update, delete Android notification channels,
  • set custom icon and color for notifications on Android.

Guides

Please refer to our notification guides.

API documentation

Keywords