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
{{ message }}
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.
Socket io requires a hack where we should set the window.navigator.userAgent to something. But in react-native that property is read only so it throws an error.
It also throws an error if the hack is not included.
Try to fix the issue or replace socket.io with something else.
The text was updated successfully, but these errors were encountered:
Could get it to work by using a patched socket.io until they make an official release The issue was on engine.io-parser repo and they have already merged the PR with the fix. But they still haven't done a release. Until the fix is on an official release, used this patched version.
Socket io requires a hack where we should set the
window.navigator.userAgent
to something. But inreact-native
that property is read only so it throws an error.It also throws an error if the hack is not included.
Try to fix the issue or replace socket.io with something else.
The text was updated successfully, but these errors were encountered: