Skip to content

no internet banner even when there's internet #3144

Closed

Description

@mdmohsin7

Image

Activity

  1. added
    ux-polish
    p3
    help-wanted
    on Jan 30, 2026
  2. fabianescola1-max commented on Sep 11, 2026

    @fabianescola1-max

    @josancamon19 @kodjima33 — would you approve a US$20 bounty, payable through the documented PayPal process after acceptance and merge, for a focused fix to this stale false-offline path?

    I checked current main. ConnectivityService.init() correctly treats every interface except ConnectivityResult.none as a candidate connection and verifies it with hasInternetAccess. But the live _handleConnectivityChange() path only recognizes mobile, wifi, and ethernet; every other interface result falls through to _updateConnectionState(false) without running the existing reachability check. That means connectivity reported through another supported interface (for example VPN/other, depending on platform) can show Omi as offline even while the health probes are reachable. It also makes startup and subsequent-change behavior disagree.

    Proposed bounded scope:

    • use one shared interface-presence policy for both initialization and change events: only an all-none result is immediately offline; otherwise verify through the existing InternetConnection.hasInternetAccess;
    • preserve the existing API/Cloudflare health probes and subscription lifecycle;
    • add hermetic behavior tests for Wi-Fi, mobile, Ethernet, VPN/other, none, and mixed-interface transitions, including recovery without duplicate status notifications;
    • run the Flutter suite/analyze ratchet and provide the real UI/offline-banner verification available in this environment.

    The issue is still assigned to its original reporter from 2025, but there are no issue comments and no matching implementation PR in the direct checks I ran. Please confirm that assignment is inactive and the US$20 scope is wanted before I open the implementation PR.

    AI assistance (OpenAI Codex, current model) is being used and will remain disclosed. No reward or assignment is assumed.

  3. aryanorastar commented on Oct 30, 2026

    @aryanorastar
    Collaborator

    Fixed on main by #22197 (fbbec1d61f). Connectivity no longer treats only mobile, Wi-Fi, and ethernet as online. Any interface other than none is checked for reachability before the offline banner clears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

help-wantedp3ux-polish

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions