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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]