Setting a timer for a long period of time, i.e. multiple minutes

前端 未结 14 1239
面向向阳花
面向向阳花 2020-12-02 12:23

I want to use firebase auth with react native for Login and Signup but I got a yellow error:

Setting a timer for a long p

14条回答
  •  南方客
    南方客 (楼主)
    2020-12-02 12:54

    To fix this issue...

    1. Navigate to your node_modules/react-native/Libraries/Core/Timers/JSTimers.js file.

    2. Look for the variable MAX_TIMER_DURATION_MS

    3. Change its value to 10000 * 1000

    4. Save the changes (with auto format turned off) and re-build your app.

    Found this answer on https://github.com/firebase/firebase-js-sdk/issues/97#issuecomment-485410026

提交回复
热议问题