diff --git a/android/app/src/main/java/com/mattermost/rnbeta/CustomPushNotification.java b/android/app/src/main/java/com/mattermost/rnbeta/CustomPushNotification.java index b497688f8..8bf1c4747 100644 --- a/android/app/src/main/java/com/mattermost/rnbeta/CustomPushNotification.java +++ b/android/app/src/main/java/com/mattermost/rnbeta/CustomPushNotification.java @@ -172,7 +172,9 @@ public class CustomPushNotification extends PushNotification { break; } - notifyReceivedToJS(); + if (mAppLifecycleFacade.isReactInitialized()) { + notifyReceivedToJS(); + } } @Override