Skip to content

Commit b780ec4

Browse files
MOB-5132: Fix deep link issue after app is opened from notification (#546) (#593)
Co-authored-by: devcsomnicg <[email protected]>
1 parent efa8d3a commit b780ec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public IterableNotificationBuilder createNotification(Context context, Bundle ex
194194
trampolineActivityIntent.setClass(context, IterableTrampolineActivity.class);
195195
trampolineActivityIntent.putExtras(extras);
196196
trampolineActivityIntent.putExtra(IterableConstants.ITERABLE_DATA_ACTION_IDENTIFIER, IterableConstants.ITERABLE_ACTION_DEFAULT);
197-
trampolineActivityIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
197+
trampolineActivityIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
198198

199199
// Action buttons
200200
if (notificationData.getActionButtons() != null) {

0 commit comments

Comments
 (0)