-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[firebase_dynamic_link] listener not being called on iOS #262
Comments
So, finally I found the solution... In Dynamic Link firebase docs you will find this: I must say this is not mentioned in the flutter plugin README doc So adding that key I solved the issue... Here it is the doc https://firebase.google.com/docs/dynamic-links/custom-domains?authuser=0 |
Hi @quetool, Just wondering what you exactly managed to solve by adding the |
@HofmannZ yes, before I realize I needed to add that key on the info.plist dynamic links were not being readed at all, not from |
@quetool managed to get that working, though the |
@HofmannZ you need to add the onLink listener once in an initState() method or in a singleton class. I think you are instantiating the FirebaseDynamicLinks more than one time. |
@quetool Yeah came to that conclusion as well. The only problem I had was that I was calling Also using |
I have a main container class (a stateful widget) that contains the entire app. On its |
@quetool how did you solve getting the |
Maybe is better if you provide some code and an explanation on what you need to do... I do not have problem getting current context becauase like I said I manage everything inside a stateful widget... Anyway, this is just for issues, maybe you can open a question on SO |
PR #255 managed to fix my issue, thanks! |
I do not have that sort of problems described on that PR but ok |
This MUST be included on pub.dev I feel a large amount of developers will want to use custom domains and will have to dig through hundreds of issues to find this. |
Please guys update the doc. So hard to find this! |
Thanks @emmett-deen for your comment. This problem still exists and your comment helped to solve the problem. I can't believe the plugin's readme is still not updated. |
@surpriso1997 uhm... I think you are talking about MY comment :P |
@quetool oops sorry, didn't realise that was quoted comment from @emmett-deen |
I have tried both on iOS 12 and 13 and
FirebaseDynamicLinks.instance.onLink
listener is not being called at all... App is opened just fine, but like I said, the listener is not being called...The text was updated successfully, but these errors were encountered: