# rwbutler/Connectivity

🌐 Makes Internet connectivity detection more robust by detecting Wi-Fi networks without Internet access.

Repository: https://github.com/rwbutler/Connectivity
Canonical: https://ross.abutalabs.com/products/connectivity
Homepage: https://medium.com/@rwbutler/solving-the-captive-portal-problem-on-ios-9a53ba2b381e
Language: Swift
License: MIT
License Family: permissive
Topics: captive-portals, reachability, wi-fi, internet-access, swift, apple, carthage, wifi, detecting-captive-portals, wifi-network, internet-connectivity, internet-connection, ios, apple-reachability, notifications
Last push: 2024-12-02T23:27:22+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3334, "days_push": 639, "days_rel": 687, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1687, forks 86 (observed 2026-08-28T04:05:22.195837+00:00)

## What it is
Connectivity is a Swift library that wraps Apple's Reachability to provide a reliable measure of actual Internet connectivity on iOS. It solves the captive portal problem by detecting when a device is connected to a Wi-Fi network that lacks real Internet access.

## Use cases
- detect when iOS device is on Wi-Fi without internet access
- handle captive portal login flows in my app
- replace Apple Reachability with more reliable connectivity checks
- notify users when their connection is not truly online
- check internet connectivity before making network requests
- detect public Wi-Fi networks requiring registration

## When to choose
- you're building an iOS app that needs to distinguish real Internet access from mere interface availability
- you need to detect captive portals on public Wi-Fi networks
- you want callbacks, Combine support, and one-off connectivity checks

## When to avoid
- you're not targeting Apple platforms
- you only need simple interface availability checks that Apple's Reachability already provides
- you need cross-platform connectivity detection

## Facets
- artifact type: library
- maturity: stable
- function: networking, monitoring
- domain: mobile-development, apple-ecosystem, networking
- platform: -
- tags: captive-portal, reachability, wifi, internet-connectivity, swift, ios, apple-ecosystem

## Member repositories
- rwbutler/Connectivity (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:22.195837+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:38:53.616375+00:00, confidence not recorded.
  - readme: https://github.com/rwbutler/Connectivity (fetched 2026-08-28T04:05:22.195837+00:00, sha ac0aecd7987a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
