I'm using app links with uni_links library in my flutter app.
There is a problem that whenever I clicked my app link in another application(like Google Calendar), the OS opens my app again.
Somehow I have a duplicate of that. Here is my screenshot that what exactly happened:
I just want to open my last app that exists in background.
What should I do to fix this problem?
Well according to this answer,
I should change android:launchMode="singleTop"
to android:launchMode="singleTask"
of my MainActivity
in manifest.xml
.