Skip to content
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

What number of timer can I set? #31

Closed
goldyukol opened this issue Apr 20, 2020 · 1 comment
Closed

What number of timer can I set? #31

goldyukol opened this issue Apr 20, 2020 · 1 comment

Comments

@goldyukol
Copy link

goldyukol commented Apr 20, 2020

Do you have any timer limit? Because when I put a lot of importance, warning pops up for me.

Setting a timer for a long period of time, i.e. multiple minutes, is a performance and correctness issue on Android as it keeps the timer module awake, and timers can only be called when the app is in the foreground. See (https://github.com/facebook/react-native/issues/12981) for more info. (Saw setTimeout with duration 111862ms)

@goldyukol goldyukol reopened this Apr 20, 2020
@jkomyno
Copy link
Owner

jkomyno commented Jun 1, 2020

As noted in the warning, you should refer to issue #12981 in the react-native repo. This library has nothing to do with that warning.

@jkomyno jkomyno closed this as completed Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants