th0rgall commented on issue #1318: URL: https://github.com/apache/cordova-ios/issues/1318#issuecomment-3156201357
Thanks @sdeprada, your approach also fixed this error for me (on Capacitor, not Cordova). It is still possible to call `getAuth` after the init with indexedDBLocalPersistence is done. This worked for me: ```ts const appRef = initializeApp(FIREBASE_CONFIG); if (Capacitor.isNativePlatform()) { initializeAuth(appRef, { persistence: indexedDBLocalPersistence }); } authRef = getAuth(appRef); ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org