Where is push notification data stored

AI-generated summary

The data for push notifications is stored in the push_subscriptions table, but only for mobile notifications. This is because desktop notifications use the browser’s Notification API and do not require server-side storage. As explained by featheredtoast, the push_subscriptions table is used to store client subscriptions for mobile notifications.

Is this data point stored in any table?

Hi Amit,

Yes, underneath the hood we are using native browser push notifications. The (per-browser) client subscriptions is stored in the push_subscriptions table.

(Note, this depends on if you are on mobile or desktop: on desktop notifications, there is nothing to store, as it uses the browser notification api. Only mobile notfications need to be stored server-side in the push_subscriptions table)