To use the same code both on Android and iOS use runBackgroundTimer() and stopBackgroundTimer() . There can be used only one background timer to keep code consistent.
How do I run a timer in the background in react-native?
To use the same code both on Android and iOS use runBackgroundTimer() and stopBackgroundTimer() . There can be used only one background timer to keep code consistent.