Silent notifications with Expo

Please provide the following:

  1. SDK Version: 38.0.0
  2. Platforms(Android/iOS/web/all): all

Is there a way to handle an expo push notification when the app is in background? like setNotificationHandler is called when a notification is generated and app is in foreground. I want to do the same thing when the app is in background.
I want this because of real-time updates without using sockets or polling for ex. I just want to update in real time (without refreshing).

Not unless the user interacts with the notification (i.e. via Notification categories (coming in SDK 39)). Expo currently doesn’t support silent notifications in the managed workflow, but if you need it right now- you could implement it yourself in the bare workflow

Here’s the feature request for this - Silent push notifications | Voters | Expo

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.