Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

_dynamicLink variable was cleared after user get dynamicLink (iOS) #699

Merged

Conversation

diegoveloper
Copy link
Member

This a fix for this Issue #19820.
The issue only happens in iOS , when the user opens a dynamic link, and after redirecting to the application, the user obtains the link using this code:

FirebaseDynamicLinks.instance.retrieveDynamicLink ()

The problem is when you call that method again, the expected result must be null since it was previously obtained.

To solve this, after obtaining and returning the link, the _dynamicLink variable is set to null.

Copy link
Contributor

@bparrishMines bparrishMines left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bparrishMines bparrishMines merged commit 30482f4 into flutter:master Aug 23, 2018
@diegoveloper
Copy link
Member Author

Hi @bparrishMines , do you know who update the plugin from pub to get the latest changes? https://pub.dartlang.org/packages/firebase_dynamic_links

@bparrishMines
Copy link
Contributor

@diegoveloper Yea I'm working on it now and created a PR that will update the version and some comments.

#738

I'll merge and publish once I get a review.

@bparrishMines
Copy link
Contributor

@diegoveloper Thanks for catching this for us!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
3 participants