Sockets IO issue in Ionic


#1

I’m trying to create a an Ionic app with Sockets IO. I have a NodeJS server running ExpressIO. It used to work before, but the project got shelved for a few months. Without any changes to the code, we’re now trying to make it work but we’re getting a handshake error for the web sockets when the app gets deployed in an actual device (testing it on Android, haven’t tried iOS at the moment). We don’t get the handshake problem when we test it in Chrome’s emulator. CSP is also

After hours of tracing, I have a lead that it might be because Ionic apps doesn’t support cookies, which Socket IO utilize for the handshake.

Is it just me or this is a known issue?

Thanks.