react-native-background-timer
react-native-background-timer copied to clipboard
Emit event periodically (even when app is in the background)

`BackgroundTimer.setInterval()` is running `4-5 seconds` more than the actual timer. when I try to run this for `5 minutes` it's actually running for `5 minutes 5 seconds`. which is not...
The timer is slower(noticeable within 1 minute) than an actual timer or Javascript's default `setInterval`, I tried using `runBackgroundTimer` and `setInterval`(for Android), the latter being a bit faster however it...
Using Android 11 I've noticed when using a debug / release apk the setTimeout method only triggers when the app is in the foreground. For example using the following block...
I also tried enabling "Background proccessing" and "Background fetch" in XCode but it didn't work out.
Not able to run the tasks after killing the app forcefully. import BackgroundTimer from 'react-native-background-timer'; componentDidMount() { const intervalId = BackgroundTimer.setInterval(() => { console.log('tic'); }, 3000); BackgroundTimer.stopBackgroundTimer(intervalId); };
In **iOS 13.3 & 13.3.1**, when the count down timer is running in the background, it will be paused after 30s. 1. Start a 60s count down timer in the...
Any ideas on a fix? works fine when connected and debugging but as soon as I publish a release build it fails to do what it should. This is on...
…rgument without the required addListener and removeListener methods' on react-native 0.65 and android platform
It's working on Android but when I test on iOS I am receiving several exceptions with this text: `Consider refactoring to remove the need for a cycle.` Do you know...