react-native-background-timer icon indicating copy to clipboard operation
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.

Open iamaluckyman opened this issue 8 years ago • 2 comments

  1. App can run on android 5.0, but stopped on android 4.3 .

Which android version can be supported? How about IOS?

  1. 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

iamaluckyman avatar May 08 '17 07:05 iamaluckyman

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?

Noitidart avatar Jun 20 '17 19:06 Noitidart

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.

Noitidart avatar Sep 06 '17 20:09 Noitidart