Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,10 @@ public void getInitialNotification(final Promise promise) {
return;
}

InitialNotificationHolder.getInstance().clear();
result = Arguments.fromBundle(notification.asBundle());
InitialNotificationHolder.getInstance().clear();
} catch (NullPointerException e) {
Log.e(LOGTAG, "getInitialNotification: Null pointer exception");
} finally {
promise.resolve(result);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public synchronized boolean isReactInitialized() {
return false;
}

return mReactContext.hasActiveCatalystInstance();
return mReactContext.hasActiveReactInstance();
}

@Override
Expand Down