From d780e52ce6043c26dbe1ec9256d2cb8bfce7b1db Mon Sep 17 00:00:00 2001 From: Akshay Ayyanchira Date: Mon, 25 Mar 2024 11:44:30 -0700 Subject: [PATCH] [MOB-8111] - Pass intent to launching Activity --- .../com/iterable/iterableapi/IterablePushNotificationUtil.java | 1 + 1 file changed, 1 insertion(+) diff --git a/iterableapi/src/main/java/com/iterable/iterableapi/IterablePushNotificationUtil.java b/iterableapi/src/main/java/com/iterable/iterableapi/IterablePushNotificationUtil.java index dc408b6f4..82016bad0 100644 --- a/iterableapi/src/main/java/com/iterable/iterableapi/IterablePushNotificationUtil.java +++ b/iterableapi/src/main/java/com/iterable/iterableapi/IterablePushNotificationUtil.java @@ -85,6 +85,7 @@ static void handlePushAction(Context context, Intent intent) { // Open the launcher activity if the action was not handled by anything, and openApp is true if (openApp && !handled) { Intent launcherIntent = IterableNotificationHelper.getMainActivityIntent(context); + launcherIntent.putExtras(intent.getExtras()); launcherIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP); if (launcherIntent.resolveActivity(context.getPackageManager()) != null) { context.startActivity(launcherIntent);