Skip to content

Commit b921d8f

Browse files
authored
Merge pull request #716 from Iterable/MOB-8111-Pass-Intent-data-to-launching-activity
[MOB-8111] - Pass intent to launching Activity
2 parents c8fd88c + d780e52 commit b921d8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

iterableapi/src/main/java/com/iterable/iterableapi/IterablePushNotificationUtil.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ static void handlePushAction(Context context, Intent intent) {
8585
// Open the launcher activity if the action was not handled by anything, and openApp is true
8686
if (openApp && !handled) {
8787
Intent launcherIntent = IterableNotificationHelper.getMainActivityIntent(context);
88+
launcherIntent.putExtras(intent.getExtras());
8889
launcherIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
8990
if (launcherIntent.resolveActivity(context.getPackageManager()) != null) {
9091
context.startActivity(launcherIntent);

0 commit comments

Comments
 (0)