-
Notifications
You must be signed in to change notification settings - Fork 23
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
Will this work in the background or not (flutter)? #48
Comments
@ozgunozerk: I'm happy to accept PRs that help clarify this. Would you be interested in expanding on it? |
Thanks for the kind offer, but I already have too much on my plate atm :) |
I tested and it won't work when the app come to background |
On Flutter Web, I minimized Chrome and the Cron still worked on time. Wouldn't a minimized Chrome be in the background? Thus, I believe it does work in the background. |
I think Chrome tabs may be suspended after a while (I'm using an extension that forces this after an hour at most, but recent Chrome updates have this natively). I'm pretty sure that means no JS execution, including anything Timer based. |
Active tab maintained a timer for 8 hours without issue. I will try a test with a minimized tab as well soon. |
First of all, I'm not asking it to be work in the background.
There was already a closed issue #9 , but I believe it shouldn't have been closed.
The question asked there is what I want to learn.
Q:
A:
The answer assumes the user wants to use this in background and tries to achieve that functionality. However, question simply wanted to learn the behavior.
I think this information is crucial and should be in the readme.
The text was updated successfully, but these errors were encountered: