diff --git a/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/ReactAppLifecycleFacade.java b/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/ReactAppLifecycleFacade.java index 91c714195..325ac5504 100644 --- a/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/ReactAppLifecycleFacade.java +++ b/lib/android/app/src/main/java/com/wix/reactnativenotifications/core/ReactAppLifecycleFacade.java @@ -47,7 +47,11 @@ public synchronized boolean isReactInitialized() { return false; } - return mReactContext.hasActiveReactInstance(); + try { + return mReactContext.hasActiveCatalystInstance(); + } catch (Exception e) { + return mReactContext.hasActiveReactInstance(); + } } @Override