Push Notifications - Rails Application


#1

Hello there.

I have implemented Push Notification for a Rails Application. I’m able to send push notification and it works like a charm.

However, I have few questions.

  1. Where are these Push Notifications stored ?
  2. If they are stored, is there an API endpoint, that I can hit to get all those notifications.
  3. The reason behind Q.2 is, in my mobile application, I have a tab, where I am supposed to show a list of all the push notifications.

P.S - I’m new to using Expo.


#2

Expo doesn’t store your push notifications. The Expo push notification endpoint immediately sends the notifications to Apple (directly) and Google (via AWS). If you want to display a list of notifications in your project, you’ll need to store those notifications in your own database.