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_auth]: iOS sendSignInWithEmail requires dynamic links to be enabled #12666
Comments
Hello @benileo, Thanks for pointing out this issue! Please upgrade your dependencies, clean the project, and try again. Let us know if that fixes the problem! |
It did not fix the issue. |
Hey @benileo, I was able to replicate the issue. The underlying error is: FDL Domain is not configured. I'll be working on fixing this error message to make it clearer. In the meantime, can you have a look at this link Firebase App Linking Guide? If that doesn't resolve the issue, please open an issue on the Firebase iOS SDK GitHub repository since the error message is coming from the native side, and the Firebase team should be able to provide more information. |
@TarekkMA I've went through Firebase App Linking Guide already and I've replaced all the dynamic links with Universal and App Links. It does not resolve the issue because the issue is with Firebase iOS SDK. Why is dynamic link domain required? Doesn't make sense to me. |
Update:Firebase issues is tracked here: firebase/firebase-ios-sdk#12738 |
Is there an existing issue for this?
Which plugins are affected?
Auth
Which platforms are affected?
iOS
Description
I'm implementing sign in with email link without using dynamic links since they will be deprecated. I've setup universal and app links for both iOS and Android. The issue is that the firebase SDK considers it an internal error (only on iOS) if you haven't setup a dynamic link domain.
It works flawlessly on Android, however on iOS the call always fails. Why is a dynamic link domain required? Furthermore, even if I do enable a "dummy" dynamic link domain with a URL prefix it always strips out the /login part of the url. Pure wonkiness on the firebase side.
This is how I'm invoking the call:
This is how I'm completing the call with a deeplink in flutter, on iOS it never gets here. The email is never received or sent.
Reproducing the issue
Attempt to sendSignInWithEmail on iOS without dynamic links enabled.
Firebase Core version
2.27.0
Flutter Version
3.16.6
Relevant Log Output
Flutter dependencies
Expand
Flutter dependencies
snippetAdditional context and comments
No response
The text was updated successfully, but these errors were encountered: