avioli / uni_links

Flutter plugin for accepting incoming links.
BSD 2-Clause "Simplified" License
563 stars 303 forks source link

getInitialLink() fired multiple times #124

Open marslannasr7koncepts opened 3 years ago

marslannasr7koncepts commented 3 years ago

The getInitialLink() continues to give a valid dynamic link after the first retrieval. This leads to a loop where a user is continuously forced into a page associated with the deep link

JErazo7 commented 3 years ago

I have the same issue

Holofox commented 3 years ago

ATTENTION: getInitialLink/getInitialUri should be handled ONLY ONCE in your app's lifetime, since it is not meant to change throughout your app's life.

This behavior is standard for the package, that is, you will receive the same cold start link every time. Until you close the application, the method will always return the same value.

ThusithaDeepal commented 8 months ago

How to clear initialUri value?