Unity plugin for Android and iOS that helps detect real network issues such as captive portal, unstable connections, and VPN state using platform signals with an event-driven API.Unity’s default reachability often fails in real conditions.A device may report “connected” while requests fail, downloads hang, or login flows break.This leads to:failed API callsbroken onboarding and loginwasted traffic on metered networkspoor user experience that is hard to debugThis plugin gives your app a reliable view of connectivity state using native platform signals on Android and iOS.You can react to real network conditions without adding custom ping systems or background checks.Use it when you need to:handle captive portal cases before starting online flowsreact to Wi-Fi and cellular changesavoid heavy operations on metered connectionsadapt to unstable or constrained networksexpose connection quality to usersinspect VPN-related state for logic or diagnosticsThe API is event-driven, so your app receives updates only when something changes.The package includes:simple setup for basic monitoringextended configuration for production scenariossample implementations (basic and advanced)Important note:- platform signals do not guarantee reachability of a specific backend or CDN- for critical flows such as login, payment, matchmaking, cloud save, and large content download, verify the real target service with an application-level requestThis asset uses only publicly available system APIs and does not collect or transmit user data.Apk to testKey FeaturesNative Android implementation (NetworkCapabilities)Native iOS implementation (NWPathMonitor)Event-driven API (no polling)Unified ConnectionState modelCaptive portal detectionTransport detection (Wi-Fi / Cellular / None)Metered and constrained network detectionConnection quality signals- iOS: high-confidence with fallback signalsVPN-related state detection:- Android: transport-based (VPN)Platform-specific detail models (when needed)No backend pings or HTTP validation requiredSample scripts: Basic and Pro integrationPlatform CompatibilityAndroid: Core functionality available on Android 5.1 (API 22) and higher. Supports both Game Activity and single-activity configurations.iOS: Compatible with iOS 13.0 and later.Unity Editor: Tested with Unity 2022 LTS, and Unity 6.I used AI (LLM) as a supporting tool during development for:Reviewing parts of the codebase for readability, consistency, and potential edge cases.Generating additional test use-cases and scenarios to help validate expected behavior.Checking grammar and clarity in the documentation.Assisting with the creation of marketing images.All final implementation, architecture decisions, validation, and testing were done by me. AI tools were used strictly as assistance to improve quality and efficiency, not as a replacement for development work.


