How to use the react-native-background-timer.clearInterval function in react-native-background-timer

To help you get started, we’ve selected a few react-native-background-timer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github RocketChat / Rocket.Chat.ReactNative / app / views / JitsiMeetView.js View on Github external
onConferenceTerminated = () => {
		const { navigation } = this.props;
		if (this.jitsiTimeout) {
			BackgroundTimer.clearInterval(this.jitsiTimeout);
		}
		navigation.pop();
	}
github thousight / react-native-draggable-switch / src / utils.ts View on Github external
export const stopSessionTimer = (isStillAuthed: boolean = true) => {
  BackgroundTimer.clearInterval(timeout)
  BackgroundTimer.stop()

  authenticated = isStillAuthed
}