Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

setTimeout warning on Android #5

Open
thgh opened this issue Feb 5, 2021 · 0 comments
Open

setTimeout warning on Android #5

thgh opened this issue Feb 5, 2021 · 0 comments

Comments

@thgh
Copy link

thgh commented Feb 5, 2021

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 facebook/react-native#12981 for more info.
(Saw setTimeout with duration 310000ms)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant