-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Setting Persistence Doesn't Work #3131
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
Comments
This is related with issue #3038 |
I was able to workaround this with |
Check this pull request it has new docs in that I have added how to use persistence correctly #3174 |
Settings persistence in this way is correct, the issue is that it does not work if the function is imported from @angular/fire/auth. @jamesdaniels any ideas? |
Anyone has managed to solve this issue? I'm facing it right now and it's so annoying |
this is the correct format |
It worked for me, thanks |
Currently running
setPersistence
with anyPersistence
breaks. I was able to work around this by just importingsetPersistence
from@firebase/auth
instead of@angular/fire/auth
.Version info
Angular: 13.1.3
Firebase: 9.6.4
AngularFire: 7.2.0
Other (e.g. Ionic/Cordova, Node, browser, operating system): Node 17.x; OS Windows 11; Browser Chrome;
How to reproduce these conditions
Try setting persistance:
Debug output
Expected behavior
Setting persistence works.
Actual behavior
Setting persistence doesn't work.
The text was updated successfully, but these errors were encountered: