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
🐛 [dynamic_links] getInitialLink() is always returning null (on Android) #8261
Comments
We had the same issue, pretty sure the PR above fixes it. |
we are in the same, I have tried everything but it always returns null, therefore it does not enter the if |
same problem |
Same on iOs and Android. Not only with getInitialLink() but also with onLink.listen(). In FirebaseDynamicLinks.instance.onLink.listen(), the listen is never triggered. |
I had the same problem with @tvledesign You don't need to edit the code manually. You can also overwrite the dependencies:
firebase_core: ^1.13.1
firebase_dynamic_links: ^4.1.0
flutter:
sdk: flutter
dependency_overrides:
firebase_dynamic_links_platform_interface:
git:
url: https://github.com/defiq-dev/flutterfire
ref: fix-type-cast-issue-in-dynamic-link-handling
path: packages/firebase_dynamic_links/firebase_dynamic_links_platform_interface |
Ah that's very good to know, thanks! |
The PR from @odlund is working! Thank you 😃 |
is there any solution? |
@CristCT Yes, use @odlund's PR (#8263) with my instruction: #8261 (comment) |
Thanks for the detailed report and fix for this.
The fix made by this PR : #8263 fixes above. |
dependencies: dependency_overrides: @nilsreichardt this works for android but not for ios can you please help me with that? |
@Peeyush14198 For me, it's working for iOS and Android. I think in your case it's a different issue or you did the configuration for iOS wrong. |
same issue |
@ahmarDebugger did you try to use @odlund's PR (#8263) with @nilsreichardt instructions? |
Bug report
getInitialLink() is always returning null (on Android). I have spends hours already searching for it, read multiple posts about this issue and tried all things I could find, but it always stays null.
I tried:
I unfortunately never got it working. It is currently implemented this way:
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Additional context
I have not tested it on iOS.
Flutter doctor
Click To Expand
Flutter dependencies
Click To Expand
The text was updated successfully, but these errors were encountered: