Reputation: 310
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?
Upvotes: 18
Views: 1709
Reputation: 23384
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 .
Upvotes: 13