Network Connectivity Issues on iOS 17 for Cordova Ionic App

Our Cordova Ionic app is experiencing network connectivity issues specifically on devices running iOS 17. The app fails to fetch data from our server, resulting in a timeout error. This issue does not occur on other iOS versions or devices, and other apps on the affected devices continue to function normally. A temporary fix is to restart the device, after which the app works fine until the issue reoccurs.

Ionic Info:

  • Ionic CLI: 7.2.0
  • Ionic Framework: @ionic/angular 5.9.4
  • @angular-devkit/build-angular: 14.2.12
  • @angular-devkit/schematics: 14.2.12
  • @angular/cli: 14.2.12
  • @ionic/angular-toolkit: 7.0.0

Cordova plugin

  • cordova-plugin-ionic-webview 5.0.0 “cordova-plugin-ionic-webview”
  • cordova-plugin-whitelist 1.3.3 “Whitelist”
  • cordova-plugin-code-push 1.12.1 “CodePush”
  • cordova-plugin-advanced-http 3.3.1 “Advanced HTTP plugin”

@hoangdao98 - did you ever find out what was happening or find a solution for this? I am seeing a lot of issues since iOS 17 related to iPhone internet connectivity detection. Mainly I am seeing iPhone logs tracking false positives that think its connected to the internet yet all my app api calls to my server and to google are failing. Its like wifi is on so the iPhone thinks internet is active when in fact the wifi has no internet access.