Comments (2)
This is very strange and I have not experienced this issue. I don't believe that the idle status should be a factor that would cause this, especially since you never explicitly call the setStatusIdle()
method and therefore the status should never be in an "idle' state.
The only thing I can think of is that it has something to do with the ddp implementation of the simpleddp
package. One thing that you might try just to see if it resolves the issue is to switch simpleddp
to @socialize/react-native-meteor
. You'll have to forgive the name as it can be confusing since the code has been refactored to support environments outside react-native and should work just about anywhere.
from socialize-user-presence.
Thank you for your feedback Kelly, I was doing some more tests and it seems to be something related to the simpleddp
package since when the PC reaches a state of hibernation or sleep, then it doesn't update the ddp connection status, however, in the server logs it does be visible that session is disconnected for that client (I used UserPresence.onSessionDisconnected
to see that part)
So, as an alternative solution I programmed a cron to reset the client each certain time.
from socialize-user-presence.
Related Issues (14)
- How it use? HOT 1
- Different package for user presence? HOT 2
- No userId in connection object HOT 2
- [Question] Support for React HOT 5
- Cannot read property 'RegEx' of undefined HOT 2
- HCP does not reflect server-side modified code changes HOT 2
- onUserOffline is not working HOT 4
- Incompatible with Meteor 2.3 HOT 5
- Bug: user sessions are never properly cleaned up when a node dies HOT 4
- dependencies HOT 2
- Best way to keep track of where the user is using FlowRouter? HOT 4
- Undefined connection.userId HOT 4
- ReferenceError: determineStatus is not defined 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 socialize-user-presence.