You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
In my flutter android app, I have used firebase for authentication(Passwordless Authentication) and it sends email links perfectly to the given email address through the android emulator. Email link is similar as follows,
https://fir-login-6f7da.firebaseapp.com/__/auth/action?apiKey=AIzaSyDlX7iyKLvh87ZrHgWLxvCjCtkTjXUeSm8&mode=signIn&oobCode=c9JvCxJbZyoPGRwhjAZmCTENDe-3aSnVZ3hxH8BRG0IAAAF5TvSkOA&continueUrl=https://mydynamic.page.link/V5Hh&lang=en
However, after clicking the link it redirects to the mobile app but does not handle isSignInWithEmailLink method. Because if(FirebaseAuth.instance.isSignInWithEmailLink(link.toString())) is always false.
In the console, it prints like
==================1===================https://mydynamic.page.link/V5Hh
I am wondering why it should not print the whole email link (https://fir-login-6f7da.firebaseapp.com/__/auth/action?apiKey=AIzaSyDlX7iyKLvh87ZrHgWLxvCjCtkTjXUeSm8&mode=signIn&oobCode=c9JvCxJbZyoPGRwhjAZmCTENDe-3aSnVZ3hxH8BRG0IAAAF5TvSkOA&continueUrl=https://mydynamic.page.link/V5Hh&lang=en)
As per the implementation of isSignInWithEmailLink in Firebase, it only 'true' if the email link contains the following texts. Can anybody help me to solve this issue?
flutter doctor -v
Beta Was this translation helpful? Give feedback.
All reactions