Chapter9 실행중에 휴대폰 하단에 노란색 경고메시지가 자주 보입니다. #28
-
Chapter9을 책 내요대로 세팅한 뒤 실행을 하면 아래와 같이 휴대폰 하단에 warning message가 자주 나타납니다. 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. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
안녕하세요 @wann2
감사합니다. |
Beta Was this translation helpful? Give feedback.
안녕하세요 @wann2
프로젝트/node_modules/react-native/Libraries/Core/Timers/JSTimers.js
에서60 * 1000
으로 되어 있는MAX_TIMER_DURATION_MS
라는 변수의 값을10000 * 1000
으로 변경하시면 됩니다.감사합니다.