Coder Social home page Coder Social logo

Comments (10)

SankethBK avatar SankethBK commented on August 18, 2024 2

it's possible that the operating system or device power-saving features could affect the behavior of your app's timers and lead to issues with session management over an extended period like 8 hours.

from local_session_timeout.

SankethBK avatar SankethBK commented on August 18, 2024 1

I'll check and confirm

from local_session_timeout.

SankethBK avatar SankethBK commented on August 18, 2024

Hi @rajath-1990, can you check if it is working for smaller durations

from local_session_timeout.

rajath-1990 avatar rajath-1990 commented on August 18, 2024

yes. working for smaller duration

from local_session_timeout.

SankethBK avatar SankethBK commented on August 18, 2024

@rajath-1990 in emulator or real device?

from local_session_timeout.

rajath-1990 avatar rajath-1990 commented on August 18, 2024

both

from local_session_timeout.

rajath-1990 avatar rajath-1990 commented on August 18, 2024

I tested the app by setting the timeout to 1 hour. It's working. but if I set it to 8 hours, it's not working

from local_session_timeout.

SankethBK avatar SankethBK commented on August 18, 2024

what is the usecase for keeping the timeout that long?

from local_session_timeout.

rajath-1990 avatar rajath-1990 commented on August 18, 2024

from local_session_timeout.

SankethBK avatar SankethBK commented on August 18, 2024

Hi, i've fixed this issue in latest release 3.0.0. I have removed the timer completely which has risk of getting terminated from OS, instead storing the timestamp when app is pushed to the background and calculating the time difference when app regains focus.

from local_session_timeout.

Related Issues (20)

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.