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
When using the Firebase JS SDK (firebase@11.6.1) with React Native (react-native@0.79.1), initializing Auth without explicitly providing AsyncStorage results in:
The warning appears even though @react-native-async-storage/async-storage is installed.
The error [Error: Component auth has not been registered yet] is thrown on initialization.
This occurs when using the standard getAuth() import from firebase/auth.
Steps and code to reproduce issue
Install dependencies as above.
Initialize Firebase and Auth in a React Native project.
Observe the warning and error on app start.
Expected Behavior
Auth should initialize without error if AsyncStorage is installed.
If AsyncStorage is required, the SDK should detect and use it automatically, or provide clear instructions for React Native users.
iM-GeeKy, crussell122, Gabiveu1574, PrinnyDev, rbeers and 5 more