WebRTC works in Safari on iOS cellular but not in WKWebView/Capacitor. TURN relay candidates generated, but ICE checks stuck. Is there an iOS entitlement or WKWebView configuration needed for TURN relay on cellular networks?
Safari on iOS cellular works with pi-webrtc. Capacitor iOS app on cellular generates TURN relay candidates but connection stuck at 'checking' state. Coturn shows zero peer data relayed. TURN allocations succeed, permissions created, but no media flows. Same code works in Safari browser. Is there a known WKWebView limitation for TURN relay on cellular?
And for what it is worth, Ionic-Vue Capacitor build on Android also works with cellular (WAN) connection... and ALL variations work on the LAN.
In XCode, App > Signing and Capabilities, I set Mic and Camera permission.
Any clues would be really appreciated!
After more than two weeks of debugging attempts, and a lot of reading about other peoples experiences, I through up my hands and thought what if Cursor.ai with Claude.ai Opus 4.5 installed could convert the app from Ionic-Vue into React. I found several references where React folks were having success. I pulled my project from Git and 15 minutes later I built it and deployed it with xCode.
Much to my surprise it just ran without any additional debugging. No bugs, it just runs now!
The issue seems to be a WKWebView incompatibility with Ionic-View!