DEV Community

Harri jefria
Harri jefria

Posted on

Answer: Using Firebase in React Native shows a timer warning

To sort this out all need to do is increase the value of the variable MAX_TIMER_DURATION_MS. Here are the steps:

  1. Go to node_modules/react-native/Libraries/Core/Timer/JSTimers.js

  2. Look for the variable MAX_TIMER_DURATION_MS

  3. Change 60 * 1000 to 10000 * 1000 , needed for firebase

  4. Save the changes and re-build your app.

Top comments (0)