ionic-team / ionic-team/capacitor
[Bug]: Xcode 16.3 simulator bug causes network access to fail?
- Dominant language
- TypeScript
- Stars
- 16.7k
- Forks
- 1.3k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 10
Description
### Capacitor Version
When testing on iOS 18.3.2 or beyond on iPad Air (5th generation) for example, we run into Network Connection issues which may be bypassed with a code alternative as mentioned by [Paul Hudson](https://x.com/twostraws/status/1906976838670258594)
The change is `URLSession.shared` to `URLSession(configuration: .ephemeral)`
### Other API Details
```Shell
10.8.1 npm
v22.3.0 node
```
### Platforms Affected
- [x] iOS
- [ ] Android
- [ ] Web
### Current Behavior
For example, connections to Firestore within a Ionic + Capacitor application halts / fails to connect when testing atleast iOS 18.3.2 on select devices; discovered with iPad Air 5th gen.
"Cloud Firestore could not connect to backend"
### Expected Behavior
Naturally, connections should continue to occur yet being the nature of PWA's we as developers don't have direct access to the WebView.
### Project Reproduction
https://github.com/khaelou/bare
### Additional Information
Issue [#8889](https://github.com/firebase/firebase-js-sdk/issues/8889) and Issue [#14712](https://github.com/firebase/firebase-ios-sdk/issues/14712) follow this issue directly, there is also an [ongoing thread](Network Connection Issue on Xcode 16.3 Simulator) on Apple Developer Forums (Apple Developer account required)
Contributor guide
Assessment
This issue has not been assessed yet.