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?
 
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
Cookies are required to use this site. You must accept them to continue using the site. Learn more…