Expo Notification background task

Is there a way to do background task i.e. update app data or fetch data from database when notification is received and app is in background or killed state.

So as when user opens app, then updated data is available for user.