DiscipleTools / disciple-tools-mobile-app

The React Native code base for the Disciple.Tools mobile app
https://disciple.tools/
16 stars 19 forks source link

Offline mode not working when offline prior to launching app #692

Closed zdmc23 closed 2 years ago

zdmc23 commented 2 years ago

Steps to reproduce:

  1. (if not already closed) swipe close app
  2. toggle "Airplane Mode" on device
  3. launch app

What is supposed to happen is that when the app is backgrounded, we detect it and write the SWR cache to persistent storage. This does work properly when app is in the foreground, then "airplane mode", and then background app and re-foreground.