Category: React Native Firebase

Posted in React Native Firebase

How to keep a user logged in

is there a way to keep a user logged in I mean authentication should not lost even after refreshing the app?

Continue Reading
Posted in React Native Firebase

Listener callback only triggers for initial component instance

@Salakar I’m attempting to use the pattern you referenced in a previous issue. The Problem In my iOS app, it’s possible to have multiple instances…

Continue Reading
Posted in React Native Firebase

The default Firebase app has not yet been configured

Hey guys, working like a bomb on Android but I get this error on iOS. I did the react-native link react-native-firebase way but wondering if…

Continue Reading
Posted in React Native Firebase

Multiple dex files define Lcom/google/firebase/iid/zzb;

After adding this package i’ve got this error Dex: Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define Lcom/google/firebase/iid/zzb; UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dex.DexException:…

Continue Reading
Posted in React Native Firebase

Firebase Invites

Just curious what you think of this library and if you thought of adding that part of this? Thanks !

Continue Reading
Posted in React Native Firebase

Offline persistence after app restart

Currently I had an issue about offline persistence (on iOS) First I call an update request (while offline) like firebase.database() .ref(‘my_ref’) .set(myData) .then(() => {…

Continue Reading
Posted in React Native Firebase

Cloud Messaging build error: ‘RCTEventEmitter.h’ file not found

I am getting the following error when trying to build my app after enabling Cloud Messaging: In file included from /xxx/ios/App/AppDelegate.m:6: /xxx/../node_modules/react-native-firebase/ios/RNFirebase/RNFirebaseMessaging.h:8:9: fatal error: ‘RCTEventEmitter.h’…

Continue Reading
Posted in React Native Firebase

FirebaseAnalytics.h’ file not found

After adding react-native-firebase to my iOS project it failes to build. I added it by copying the example podfile as shown below. pod ‘Firebase/Auth’ pod…

Continue Reading
Posted in React Native Firebase

Use of undeclared identifier ‘FIRAuthErrorCodeInvalidRecipientEmail’. RNFirebaseAuth referring to FIRAuthErrors that don’t exist

Use of undeclared identifier ‘FIRAuthErrorCodeInvalidRecipientEmail’ RNFirebaseAuth.m is referring to error constants that don’t exist in the lib installed by Pod. Getting this for below error…

Continue Reading
Posted in React Native Firebase

orderByChild once(‘value’) not working

First of all, thanks for this great project! I have this issue with orderByChild which is not working as expected. firebase.database().ref(`/users/${userUid}/items`) .orderByChild(‘priority’) .once(‘value’, snapshot =>…

Continue Reading