From 77c56b90d2245bd0fffd473550025cfddd222adc Mon Sep 17 00:00:00 2001 From: DanielEliraz Date: Wed, 26 Oct 2022 11:01:49 +0300 Subject: [PATCH] trigger notificationOpened from killed state (#908) --- .../wix/reactnativenotifications/RNNotificationsPackage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/android/app/src/main/java/com/wix/reactnativenotifications/RNNotificationsPackage.java b/lib/android/app/src/main/java/com/wix/reactnativenotifications/RNNotificationsPackage.java index eadf41ec3..c09024700 100644 --- a/lib/android/app/src/main/java/com/wix/reactnativenotifications/RNNotificationsPackage.java +++ b/lib/android/app/src/main/java/com/wix/reactnativenotifications/RNNotificationsPackage.java @@ -67,7 +67,7 @@ public void onActivityCreated(Activity activity, Bundle savedInstanceState) { @Override public void onActivityStarted(Activity activity) { - if (InitialNotificationHolder.getInstance().get() == null) { + if (InitialNotificationHolder.getInstance().get() != null) { callOnOpenedIfNeed(activity); } }