react-native-background-timer
react-native-background-timer copied to clipboard
1)Which version can be supported? 2)when the app runs in background , the timer is slower than in foreground.
- App can run on android 5.0, but stopped on android 4.3 .
Which android version can be supported? How about IOS?
-
when the app runs in background , the timer is slower than in foreground.
intervalId = BackgroundTimer.setInterval(() => { var curSecond = this.state.curSecond +1; this.setState({curSecond:curSecond }); }, 1000);
Thank you
I was hoping to support the minimum RN supports, which is 4.1 and up. Will this lib work in 4.1+ the same as it does in the latest android versions?
I think this speed is only an issue when in debug mode. When we make an APK https://facebook.github.io/react-native/docs/signed-apk-android.html i think its gone - im not sure just guessing. I really like this lib but i'm not sure if it's fool proof yet.