-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
blocked: customer-responseplatform: iosplugin: authenticationFirebase AuthenticationFirebase Authenticationtype: bugNew bug reportNew bug report
Description
I'm facing a persistent issue when using firebase/auth/react-native
with Expo and Hermes in a React Native app.
What I’m trying to do:
- Sign up or log in a user via
createUserWithEmailAndPassword
orsignInWithEmailAndPassword
.
What happens:
- On real iOS devices, the request fails with the error:
auth/network-request-failed
.
Environment:
- Firebase SDK: 9.16.0
- Expo SDK: 53
- React Native: 0.73
- Hermes enabled
- Device: iPhone 15 Pro (iOS 16+)
firebase.js
usesgetReactNativePersistence
with@react-native-async-storage/async-storage
- Network is online and working for all other requests (e.g., Firestore and Storage)
What I’ve already tried:
- Verified correct Firebase config and
.env
- Ensured app is initialized properly (no double calls)
- Tried switching between tunnel, LAN, and localhost
- Rebuilt app cleanly (
npx expo start -c
,eas build
, etc.) - Followed official docs for React Native Firebase and Expo
Logs:
❌ Firebase ping failed: [TypeError: Network request failed]
Metadata
Metadata
Assignees
Labels
blocked: customer-responseplatform: iosplugin: authenticationFirebase AuthenticationFirebase Authenticationtype: bugNew bug reportNew bug report