Android Question Best practice to ensure download after FCM

Currently we're using FCM to notify our app for changes and then let the app contact the server to download these changes.

Sometimes, after the arrival of the FCM at the device, the internet connection gets lost. The new data can not be retrieved. What is the best practice to ensure that the new data gets downloaded when the internet connection gets restored?


Licensed User
Longtime User
check if internet available; if not then remember that you need to download anything.
Check again a few minutes later....
Upvote 0
You say "check again in a few minutes". Do you mean with a timer in the Starter module or something else?

In stead of checking internet we could also just try the download and if success=false then execute the above.
Upvote 0