talalmajali / react-native-countdown-component

React Native CountDown
MIT License
264 stars 233 forks source link

Android Timer decrease with in seconds (very fastly) #117

Open yasir-syed opened 1 year ago

yasir-syed commented 1 year ago

I have upgraded my environment "react": "18.1.0", "react-native": "0.70.4", Now in Android release apk timer decreases within seconds. Its does not happen always but mostly. So I start a timer for 10 minutes and it decreases to 0 in less than 2 minutes. It is working fine on iOS devices.

yasir-syed commented 1 year ago

@LuisArturoMR @HelloRibs @isaacnass @talalmajali any idea?

sourabhCCSD commented 1 year ago

Same is happeing with me

c-info commented 1 year ago

similar issue sometimes the timer is stuck also.

arslanrazzaq commented 1 year ago

@yasir-syed @c-info @sourabhCCSD any update about this issue.

yasir-syed commented 1 year ago

nops. No update yet, i m resetting it right after 2 seconds to catch it back, normally it works fine after one reset. but sometimes a 10 minute countdown happens with in 8-9 minutes, so i also reset it after every 30 seconds as well. there may be a better way, but that's what I have done so far sample for resetting

     this.setState({
        remainingSeconds: 0,
      });
      setTimeout(() => {
        this.setState({
          remainingSeconds: /*this.what_ever_get_Remaining_Seconds_logic_is()*/
        });
      }, 100);