WebSocket in Swift to Ionic React

I’m trying to figure out the best method for implementing websockets with IOS. My Ionic app is using websockets to communicate with one of my on-prem servers. This all works fine. But obviously when I use capacitor to create the Xcode project websockets appear to go bye bye. If I use Swift to create my websocket connections how exactly do I pass data back and forth to the code that Capacitor created from my Ionic React project?

1 Like