Comments (12)
Can also confirm that this breaks react-native, indeed because of 6c7f4e1.
from socketcluster-client.
@jondubois, here's the detailed log: zalmoxisus/remote-redux-devtools#51 (comment)
from socketcluster-client.
@zalmoxisus @feyy Does it work with v5.0.14?
from socketcluster-client.
This is the only change which was introduced in v5.0.15 6c7f4e1
from socketcluster-client.
I can roll it back if that's the problem.
from socketcluster-client.
It's strange because we use global
here https://github.com/SocketCluster/socketcluster-client/blob/master/lib/scsocketcreator.js#L44 but it doesn't seem to cause any problems?
from socketcluster-client.
@jondubois, I didn't reproduce that. We updated the lib from socketcluster-client@4
to @5
, so it's not related to a specific patch version I guess.
from socketcluster-client.
@zalmoxisus Can you find out which version introduced the problem? It's quite hard to setup react native on my Linux machine so I can't test.
from socketcluster-client.
@jondubois, I tried earlier versions. It appears only on 5.0.15
. Removing global.WebSocket ||
from here solves the issue. Strangely, it appears only on iOS, not for Android.
from socketcluster-client.
@sjmueller @zalmoxisus Do you know if this issue has been resolved in newer versions of socketcluster-client? The logic that was causing problems was changed a while ago:
https://github.com/SocketCluster/socketcluster-client/blob/master/lib/sctransport.js#L7-L17
from socketcluster-client.
@jondubois the fix is landed on React Native >= 0.43, so the older versions of socketcluster-client
should work as well.
from socketcluster-client.
Thanks @zalmoxisus :)
from socketcluster-client.
Related Issues (20)
- Increases temperature on ios devices HOT 2
- TypeError: cb is not a function HOT 8
- Update release Page HOT 1
- Not able to run the client on the office-js in excel desktop HOT 2
- Subscribe method causes error in IE11 HOT 9
- TypeError: _iterator[Symbol.iterator] is not a function || For await of loop not working on Mobile (React Native) HOT 2
- Please bump version of remote socketcluster-client
- Remove gulp, and babel dependencies
- Can this client be used in non browser environment ?
- [docs] Add description about `autoReconnectOptions` option
- Unable to resolve as a es module
- Need help for implemeting a real-time chat HOT 1
- Incorrect disconnect code HOT 1
- socketcluster-client with protocol v1 HOT 1
- How to use "subscribeWildcard" instead of "subscribe" ? HOT 1
- How we add headers in socketclusterclient HOT 5
- I got TypeError: Object is not async iterable error while trying to listen to message event in React Native app
- Docs & readme incorrect on "rejectUnauthorized" HOT 3
- eventObject timeout has a timeout set when it's not expecting a response
- SyntaxError: Identifier 'global' has already been declared HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from socketcluster-client.