Skip to content

[FR]: Add network connectivity check before launching Chrome Custom Tab #2110

@santi-pine03

Description

@santi-pine03

Is there an existing issue for this?

  • I have searched the existing issues

Describe the problem

Currently, when someone taps on a news article card, the app immediately launches a Chrome Custom Tab without verifying whether an internet connection is available. If the device is offline, Chrome opens and displays its own network error page, taking the user outside of the app with no feedback

Describe the solution

Before calling "launchCustomChromeTab", verify network connectivity using the existing "NetworkMonitor" available in the app and show a Snackbar informing the user that an internet connection is required to open the article.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions