Cannot fetch on physical iPhone

I am having trouble with fetch on iOS physical device only. I am NOT using Capacitor HTTP. The fetch works fine on iOS Simulator, Android Emulator, Android Physical Device, but not on a iPhone Physical Device. The endpoint is not called and the request eventually times out.


⚡️  TO JS {"value":"http:\/\/\/api"}
⚡️  [error] - {} <-- This is a console.error of the error in catch statement.

I tried adding the following to Info.plist. No luck.


because the url is http. Needs to be https. This is why you should use the capacitor plugin.