Countdown circle timer is working even user leaves the app #129
Answered
by
vydimitrov
dorapax-lab
asked this question in
Q&A
-
Hi, I'm using Countdown circle timer for my app. I want to stop the countdown when user leaves my app (not kill, just leave) and go to any other app. But Countdown circle timer is not getting stopped and countdown is working in background. This will affect user's device battery. Is there a way to stop countdown when user leaves the app ? Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
vydimitrov
May 11, 2021
Replies: 1 comment 2 replies
-
Hey, check the AppState, when it goes to |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
dorapax-lab
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, check the AppState, when it goes to
background
just setisPlaying={false}