react-native-countdown-component icon indicating copy to clipboard operation
react-native-countdown-component copied to clipboard

Android Timer decrease with in seconds (very fastly)

Open yasir-syed opened this issue 2 years ago • 5 comments

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 avatar Dec 09 '22 20:12 yasir-syed

@LuisArturoMR @HelloRibs @isaacnass @talalmajali any idea?

yasir-syed avatar Dec 09 '22 20:12 yasir-syed

Same is happeing with me

sourabhCCSD avatar Dec 15 '22 09:12 sourabhCCSD

similar issue sometimes the timer is stuck also.

c-info avatar Dec 30 '22 05:12 c-info

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

arslanrazzaq avatar Jan 03 '23 15:01 arslanrazzaq

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);

yasir-syed avatar Jan 03 '23 16:01 yasir-syed