Closed
Description
Describe the bug
I'm linking an Anonymous firebaseUser to a Phone provider using firebaseUser.linkWithCredential
but onAuthStateChanged
is not triggered, even if i call firebaseUser.reload()
.
To Reproduce
Steps to reproduce the behavior:
- Sign in with an anonymous user
- Link to a phone provider using
linkWithCredential
Expected behavior
I would expect Firebase.instance.onAuthStateChanged
to be triggered with a new event, especially after calling firebaseUser.reload
.
Additional context
Flutter doctor
Run flutter doctor
and paste the output below:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.17.1, on Mac OS X 10.15.4 19E287, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.40.0)
[✓] Connected device (1 available)
• No issues found!