NetworkMonitor
interface NetworkMonitor
Monitors network connectivity state.
Platform implementations:
Android: Uses ConnectivityManager with NetworkCallback
iOS: Uses NWPathMonitor
Observe isOnline to react to connectivity changes in real time.