Skip to content

Commit 2613539

Browse files
authored
Merge pull request OutSystems#3 from OutSystems/RNMT-1796
RNMT-1796 Fix issue of OneSignal deeplink on Androids < 6
2 parents 0fe430e + 3f6df39 commit 2613539

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

OneSignalSDK/onesignal/src/main/java/com/onesignal/OneSignal.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1627,7 +1627,7 @@ private static boolean openURLFromNotification(Context context, JSONArray dataAr
16271627
url = "http://" + url;
16281628

16291629
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url.trim()));
1630-
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET |Intent.FLAG_ACTIVITY_MULTIPLE_TASK);
1630+
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET |Intent.FLAG_ACTIVITY_MULTIPLE_TASK |Intent.FLAG_ACTIVITY_NEW_TASK);
16311631
context.startActivity(intent);
16321632
urlOpened = true;
16331633
}
@@ -2571,4 +2571,4 @@ static void fireEmailUpdateFailure() {
25712571
emailUpdateHandler = null;
25722572
}
25732573
}
2574-
}
2574+
}

0 commit comments

Comments
 (0)