I am downloading the data at background from server in an offline app, where the data will be downloaded when the app launches for the first time .Later the app will be used as offline app.
I need to place the condition to check whether the data couldn't be downloaded due to low battery, Network issues etc.
Where Can I handle these in app life cycle?