-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Description
From stackoverflow by Dario : https://stackoverflow.com/questions/53418686/dynamic-link-is-not-cleared-after-retrieving
In the main function the retrieveDynamicLink is called and the link is handled, as well as every time the app is resumed a lifecycle listener calls retrieveDynamicLink again and handles the link.
The plugin calls the android method:
getDynamicLink(registrar.activity().getIntent()), and the documentation states that this method should clean the intent to make any other call return null until the app is open/resumed from another link.But that's not what is happening, not always at least.
If I open the app from a dynamic link, switch to another app, and then go back to the app, the
retrieveDynamicLinkcall returns the link again. If I originally open the app from its icon that does not happen.Does anyone have any suggestion?
I'm using
firebase_dynamic_links: ^0.1.0+1on Flutter0.11.7