New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timer pauses in background #7

Open
dblock opened this Issue Jul 27, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@dblock
Copy link

dblock commented Jul 27, 2018

Looks like my timer is pausing in background in a react-native app, which seems to be normal since Expo doesn't support background tasks.

You can work around it by keeping start and end time, maybe the timer itself can support this kind of behavior and by doing the diff rather than counting seconds?

@dblock dblock changed the title Timer pauses in background? Timer pauses in background Jul 27, 2018

@yassinedoghri yassinedoghri added the bug label Jul 28, 2018

@yassinedoghri

This comment has been minimized.

Copy link
Owner

yassinedoghri commented Jul 28, 2018

I was planning on changing the timer to work using diff but wasn't aware of that bug as I haven't tested it in a react-native app. Thanks for the heads up!

@yassinedoghri yassinedoghri added enhancement bug and removed bug labels Jul 28, 2018

@yassinedoghri yassinedoghri removed the bug label Jan 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment