forked from Ivasoft/mattermost-mobile
Send event to JS only if React initialized (#4668)
This commit is contained in:
@@ -172,7 +172,9 @@ public class CustomPushNotification extends PushNotification {
|
||||
break;
|
||||
}
|
||||
|
||||
notifyReceivedToJS();
|
||||
if (mAppLifecycleFacade.isReactInitialized()) {
|
||||
notifyReceivedToJS();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user