diff --git a/native/lifecycle/lifecycle.js b/native/lifecycle/lifecycle.js --- a/native/lifecycle/lifecycle.js +++ b/native/lifecycle/lifecycle.js @@ -14,12 +14,7 @@ return getLifecycleEventEmitter().addLifecycleListener(listener); } - NativeAppState.addEventListener('change', listener); - return { - remove: () => { - NativeAppState.removeEventListener('change', listener); - }, - }; + return NativeAppState.addEventListener('change', listener); } function getCurrentLifecycleState(): ?string {