ahampe / ahampe/KDVS

Ensure no crashes when device is offline

Open
#64 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Kotlin
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

I suspect there are more sources of fatal errors throughout the app than #58 when the device is not connected to the internet.

Any failure to resolve host will cause a fatal error inside a coroutine. So, all of our third-party API requests are likely subject to the same point of failure.

Attempting to wrap our server requests with a safety check for both device and server (check if device is online then check if host can be resolved). Though, we need `context` for this and I'm not sure how this can be injected into `WebScraperManager`, for instance.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.