Flutter App opens in another application(duplicate application)

644

Well according to this answer,

I should change android:launchMode="singleTop" to android:launchMode="singleTask" of my MainActivity in manifest.xml.

Share:
644
Aref
Author by

Aref

Android & Flutter developer Born in 1996

Updated on December 15, 2022

Comments

  • Aref
    Aref over 1 year

    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:

    my screenshot

    I just want to open my last app that exists in background.

    What should I do to fix this problem?