-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
Needs Attentionplugin: authenticationFirebase AuthenticationFirebase Authenticationtype: bugNew bug reportNew bug report
Description
Issue
Hey guys
I'm currently transitioning from @firebase/auth to @react-native-firebase/auth the issue is - Overriding async storage methods (getItem(), setItem()) no longer works
I've tried the following:
import { initializeApp } from "@react-native-firebase/app";
import { initializeAuth } from "@react-native-firebase/auth";
import { getReactNativePersistence } from "firebase/auth";
const app = await initializeApp(firebaseConfig);
const auth = initializeAuth(app, {
persistence: getReactNativePersistence(Overriding class)
});
Is there any way to override these methods?
Using @react-native-firebase 23.0.1
Metadata
Metadata
Assignees
Labels
Needs Attentionplugin: authenticationFirebase AuthenticationFirebase Authenticationtype: bugNew bug reportNew bug report