Any way to store data from a push notification in the background ?

Please provide the following:

  1. SDK Version: 41.0.1
  2. Platforms(Android/iOS/web/all):Android, iOS
  3. Add the appropriate “Tag” based on what Expo library you have a question on.
    ‘expo-notifications’

For context, I’m using firestore as my database and I am sending bulk alerts/push notifs to users based on specific query data. Ideally, I want to contain all the data necessary in the data:{} field of my push notif and simply cache/store the data on the device to avoid reads from every single user when an alert is sent. This works fine if the user clicks on the notification, however, my question is if the user dismisses the notif or restarts their phone and notification is deleted, that alert will no longer be available; is there a way to process a push notif and store some data on device while the app is in the background?

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