iOS fails to detect online after offline using @capacitor/network

Hello everyone,

I’m running into an iOS issue with @capacitor/network. In my minimal Ionic + Angular MWE:

  • After switching offline, the app may not detect returning online.
  • Automatic networkStatusChange events, manual polling, and offline queuing do not work reliably.

MWE GitHub repo: GitHub - sidharth74659/capacitor-network-ios-mwe: Minimal Ionic + Capacitor + Angular project demonstrating unreliable online/offline detection on iOS using @capacitor/network. Includes auto logging, manual checks, and a status indicator.

Steps to reproduce:

  1. Open the app on iOS.
  2. Toggle Airplane Mode or disconnect Wi-Fi/cellular.
  3. Toggle network back on.
  4. Observe the status does not update.

You can also refer to this issue for more details and discussion: https://github.com/ionic-team/capacitor-plugins/issues/40. However, none of the proposed solutions there resolved the problem in my case.

Looking for any guidance, workaround, or contributions to fix this issue.

Thanks!