Connection Socket failed in release (RN 69.12) #4911
Unanswered
Tomas-caula
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Do you get any error? Any log that could help us? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm trying to do a Video Call app with
"socket.io-client": "^4.1.2",
and it's works perfectly but only in the Debug, when I make the apk my app remains blank.useEffect(() => { if (!socketUri || !cookie) { return; } console.log('Connecting to socket', socketUri); const s = io(socketUri, { forceNew: true, withCredentials: true, transports: ['websocket', 'polling'], extraHeaders: { Cookie:
token=${cookie};`,},
});
}, [socketUri, cookie]);`
Note: All the all permissions are required previously & android:usesCleartextTraffic="true", too
Beta Was this translation helpful? Give feedback.
All reactions