You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Socket.io as a broadcaster in Laravel-echo, We are using Socketio from socket.io-client as a client for connecting to the socket ,joining into the channel and listen an event fired within the channel.
While working with React Native v0.71.10, I am facing issue regarded to the listening to the event.
The code works fine in iOS devices, but in Android it is not getting listened.
To Reproduce :- 1. these version of packages in package.json
In iOS it works fine. In Android, there is no event log.
We tried many suggestions from the community, seems like none of them works for this scenario.
Things we already tried :-
Adding 'CORS' on the server side
tried using android:usesCleartextTraffic="true"
Also tried suggestions from the closed issue of the Repo
Tried downgrading 'Socket.io-client' package from 4.7.5 (latest as of 19/07/2024) to all the suggested ones in the community
The text was updated successfully, but these errors were encountered:
When using Socket.io as a broadcaster in Laravel-echo, We are using Socketio from socket.io-client as a client for connecting to the socket ,joining into the channel and listen an event fired within the channel.
While working with React Native v0.71.10, I am facing issue regarded to the listening to the event.
The code works fine in iOS devices, but in Android it is not getting listened.
To Reproduce :-
1. these version of packages in package.json
2. Add this in your useEffect
In iOS it works fine. In Android, there is no event log.
We tried many suggestions from the community, seems like none of them works for this scenario.
Things we already tried :-
The text was updated successfully, but these errors were encountered: