shruddms / OfflineCachingSample

Simple MVVM app gets its data from REST API and caches them phone storage locally.
Apache License 2.0
3 stars 2 forks source link

App Crashing in Offline Mode #1

Closed akshatbhuhagal closed 2 weeks ago

akshatbhuhagal commented 1 month ago

Initial time App storing all the data inside our Local Storage (RoomDB) but when we try to run our application without internet then it's crashing because it's not able to understand whether our app has internet connection or not (offline)

Please check given screen recording for reference :

https://github.com/shruddms/OfflineCachingSample/assets/50077510/736ab61e-aaf2-4dc7-84af-9036c0544e57

shruddms commented 2 weeks ago

The issue has been resolved with the merged PR. The app crash in offline mode has been fixed. Thank you, @akshatbhuhagal , for your contribution!