We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aeaea30 commit a18a593Copy full SHA for a18a593
1 file changed
lib/android/app/src/main/java/com/wix/reactnativenotifications/core/ReactAppLifecycleFacade.java
@@ -47,7 +47,11 @@ public synchronized boolean isReactInitialized() {
47
return false;
48
}
49
50
- return mReactContext.hasActiveReactInstance();
+ try {
51
+ return mReactContext.hasActiveCatalystInstance();
52
+ } catch (Exception e) {
53
+ return mReactContext.hasActiveReactInstance();
54
+ }
55
56
57
@Override
0 commit comments