Sync application with firebase push notification after application is paused

I am in the early stages of developing a responsive mobile application. I wanted to get an idea of ​​the following at a conceptual level, related to below.

Let's say the application goes into a suspended state (as mentioned here ), at this moment the application code is not executed. Subsequently, the server sends a push notification based on some data changes. It seems that (at least on iOS) there is a way to use push notifications to start the download in the background. My questions:

  • Is there a way to initiate this download in a response message based on a push notification when the application is paused?
  • Is there a way to synchronize Firebase data with an application message with such a push notification when the application is running in the background, if possible (1) above?

Any hints of them will be very useful. Thank.

+4
source share

All Articles