expo-notifications
TypeScript icon, indicating that this package has built-in type declarations

0.31.4 • Public • Published

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),
  • 1️⃣ 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

Package Sidebar

Install

npm i expo-notifications

Weekly Downloads

492,306

Version

0.31.4

License

MIT

Unpacked Size

1.55 MB

Total Files

589

Last publish

Collaborators

  • tsapeta
  • ide
  • lukmccall
  • pkham
  • wojciechdrozdz
  • fiber-god
  • betoatexpo
  • brentvatne
  • evanbacon
  • quinlanj
  • expoadmin
  • exponent
  • wschurman
  • bycedric
  • jonsamp
  • princefleaswallow
  • kudochien
  • keith-kurak
  • alanhughes
  • gabrieldonadel
  • douglowder
  • kadikraman
  • aleqsio
  • expo-bot
  • philpl
  • colinmackenzie
  • krystofwoldrich
  • sjchmiela