I have integrated the brach.io deep linking implementation in one of my application in android and made the launcherMode to "singleTask" for launcher/Main activity. The problem here is when i tap on branch link its clearing the stack to launcherActivity and adding the branch data handling activity on top of it.
Example:
- A is the root/laucher activity with singleTask.
- C is performing some operation based on the branch data.
- From A i moved to B.
- Minimized the app and tapped on branch link.
Its opening the app and clears activity B from stack and adding new activitiy C instead of adding activity C on top of activity B.
if i change the launcher mode other than singleTask to activity A creating multiple instances of the app.