Network Handling for Conversations: Add network check, error dialog, and refresh option
bhavesh100 opened this issue · 0 comments
bhavesh100 commented
Is your feature request related to a problem? Please describe.
Yes, there is currently no implementation for checking internet connectivity in ConversationsListActivity
. In all cases, it presents the same error message: "There was a problem loading your chats."
Describe the solution you'd like
The ideal solution would involve a two-step approach:
- Network Check: This can be achieved using existing libraries or platform-specific APIs for network connectivity checks.
- Displaying Error Message: Based on the network check result, customize the error message displayed in the dialog.
- No Internet: If the network check fails, display a clear message like "No internet connection."
Describe alternatives you've considered
(none)
Additional context
(none)