Skip to content

Clear DynamicLink in memory after FirebaseDynamicLinks is retrieved #19820

@diegoveloper

Description

@diegoveloper

Tested on iOS :

When I open my app from a dynamic link, I have a button on my widget to get the dynamic link received

final PendingDynamicLinkData data =
        await FirebaseDynamicLinks.instance.retrieveDynamicLink();

Then problem comes when I open the application again manually (not from the dynamic link).
If I press the button to trigger this method

final PendingDynamicLinkData data =
        await FirebaseDynamicLinks.instance.retrieveDynamicLink();

Result : I receive the same value as the first call which is not correct.

Expected: I expect to receive null because my app was not open from the dynamic link

Metadata

Metadata

Assignees

No one assigned

    Labels

    p: firebaseFirebase pluginsp: firebase_dynamic_linksFirebase DynamicLinks pluginpackageflutter/packages repository. See also p: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions