Push Notifications

Two types of notifications are supported.

  1. Local Notifications : Notifications from within the app when the application is backgrounded
  2. Remote Notifications using expo : Notifications which are pushed from server to various clients. For this implementation. Below is the sample flow of notifications:

Note : Notifications using Firebase Cloud Messaging is only supported over Android and is not yet fully stable so it has not been yet included. But is planned in future releases.


A helper has been created under app/@arivaa-react-native/expo/helpers/notifications.js for managing local and expo push notifications.

Methods :

  1. scheduleLocalNotification : Schedule a local notification
  2. getExpoPushServerToken : Get a token for interacting with expo server to push expo notifications.

For Sample Implementation, Check the container push-notifications under screens/push-notifications.

Published On October 14, 2020 5:57 PM

Last Updated October 15, 2020 12:48 PM