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
It worked before updating to v18 with the following imports:
import {
indexedDBLocalPersistence,
getAuth,
initializeAuth,
provideAuth,
} from '@angular/fire/auth';
In v18 I have to import the indexedDBLocalPersistence from firebase/auth.
import { indexedDBLocalPersistence } from '@firebase/auth';
Is it normal??
Debug output
** Errors in the JavaScript console **
SyntaxError: The requested module '/@fs/Users/tomi/Dev/tamaspetro/rofi-cap/.angular/cache/18.0.1/vite/deps/@angular_fire_auth.js?v=aa35568b' does not provide an export named 'indexedDBLocalPersistence'
Expected behavior
Allow import from @angular/fire/auth (??)
Actual behavior
Have to import from @firebase/auth
The text was updated successfully, but these errors were encountered:
Version info
Angular:
18.0.1
Firebase:
10.12.1
AngularFire:
18.0.0
Other (e.g. Ionic/Cordova, Node, browser, operating system):
Ionic 8.2.0
How to reproduce these conditions
I have the following initialization in my main.ts:
It worked before updating to v18 with the following imports:
In v18 I have to import the indexedDBLocalPersistence from firebase/auth.
Is it normal??
Debug output
** Errors in the JavaScript console **
Expected behavior
Allow import from @angular/fire/auth (??)
Actual behavior
Have to import from @firebase/auth
The text was updated successfully, but these errors were encountered: