I'm using Firebase dynamic link for deferred deeplinking following the guidelines mentioned in firebase docs.
I'm facing a weird issue, if I open the link in WhatsApp or SMS app, the application opens in whatsapp or sms while there is already an instance of the deeplinked app running.
Is there any solution for this?
Asked
Active
Viewed 1,479 times
16

Deepak
- 190
- 8
-
3Did you ever solve it? – SuperFrog Dec 04 '19 at 19:47
-
Did you solve it?? – mik Dec 15 '19 at 15:06
-
Same problem for me in android emulator but not iOS real device. Did you solve it? – cocacrave Mar 17 '20 at 04:35
-
Did you solve this? – anonymous-dev Nov 04 '21 at 10:19
1 Answers
11
If you are using multiple activities then
android:launchMode="singleInstance"
seems to work .
<activity
android:name=".activity.MainActivity"
android:launchMode="singleInstance"/>
But in my case I am using single activity architecture , not sure how to handle it .

Manohar
- 22,116
- 9
- 108
- 144
-
Getting this error on build: Manifest merger failed : Attribute activity#com.app.app.MainActivity@launchMode value=(singleTop) from AndroidManifest.xml:19:13-48 is also present at AndroidManifest.xml:19:13-48 value=(singleInstance). – metamonkey Nov 23 '21 at 22:12
-