Code Monkey home page Code Monkey logo

Comments (2)

copleykj avatar copleykj commented on June 7, 2024

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.

diavrank avatar diavrank commented on June 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.