Comments (6)
I should add that this doesn't happen every time the app is resumed, nor have I been able to setup a reliable/consistent recreation of the crash, however, I have noticed it a handful of times on the resume event.
from tiws.
Could potentially be related to this issue: facebookincubator/SocketRocket#62
from tiws.
Are you correctly closing the socket / opening it when pause / resume?
I'm very sorry, but recently I've decided to not develop my apps w/ Titanium and probably I won't update none of my modules...
from tiws.
I think I fixed it. I had a setInterval running that was checking if the socket was connected, and if not, reconnecting it. However, I was referring to socket.socket.connected
and I think the socket object was sometimes garbage collected in the background and had to be completely recreated.
Out of curiosity, what did you switch to for your app dev environment?
from tiws.
glad to read it's solved somehow.
after years with titanium, I don't like where AppC is focusing... plus the lack of important core updates, parity android <> ios, serious bugs, etc. honestly, i'm devolping faster in objc+java then titanium... since I got absolute control, performance and not those things I mentioned.
from tiws.
This is disappointing to hear, but whatever works best I guess. I was a big fan of this particular module. Hope someone else can pick it up.
from tiws.
Related Issues (20)
- Integrate the autobahn ws test suite HOT 3
- Add binary data support
- add support for custom request headers
- HttpResponseException is deprecated in Android 6
- wss:// ssl support HOT 15
- Can not connect to node server HOT 2
- Error trying to connect http server with socket.io HOT 4
- Headers HOT 2
- Still active? HOT 2
- Getting more done in GitHub with ZenHub
- iOS message event not fired? HOT 1
- Android code depends on deprecated org.apache.http.* HOT 3
- Added 1000+ Semi Colons to tiws Examples HOT 3
- Does this module work with Android? HOT 2
- No https connection with socket.io HOT 2
- HTTP Error (java.io.IOException): 400 : Bad Request when connecting to socket.io
- Titanium SDK 7.0.x HOT 2
- [ERROR](GITTIO) [email protected]:ios not found
- Support for sdk 8.x
- wss:// not works - Android
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 tiws.