Questions tagged [react-native-firebase]

This tag is for the react-native-firebase npm package.

This tag is for the react-native-firebase npm package. React Native Firebase allows the use of the full firebase suite of modules whilst working with react native, it works by providing a javascript bridge to the native android and iOS firebase SDK's.

When using this tag it would be helpful to specify the following:

1. Application Target Platform(s):

2. Operating System:

3. React Native version:

4. RNFirebase Version:

5. Firebase Module:

1347 questions
5
votes
0 answers

Invalidate Firebase Token on Logout (React Native Firebase)

What is the correct way to invalidate a firebase token on react-native-firebase when user logs out? Firebase's deleteInstanceId isn't available in react-native-firebase. In the Github issues, the following method was suggested:…
Shibl
  • 101
  • 6
5
votes
0 answers

Why app crash when receive push notification from firebase in react native?

I am using react-native-firebase for remote push noticification. I am able to recieve noticification when app open or in background. But when I kill the appliction and remove it from memory, once i send message from firestore app crashes in mobile.…
Arun kumar
  • 1,041
  • 5
  • 20
  • 39
5
votes
0 answers

Firestore - slow optimistic updates?

Optimistic updates do not seem to work as fast expected in Firestore. I am seeing update times at a minimum of 200 ms, in between the time I write to Firestore and the time my snapshot listeners get triggered. I am using the react native firebase…
5
votes
3 answers

Issue installing react-native-firebase on iOS

I'm attempting to install react-native-firebase on an iOS project. I've followed all instructions but keep having issue I get the following error: However, I'm able to import from the AppDelegate.m file I've tried different way to…
alexmngn
  • 9,107
  • 19
  • 70
  • 130
5
votes
4 answers

How to crash a react native android app

I am working on react-native-firebase crashlytics. I am using rnfirebase starter kit. There we have crashlytics integrated with the project. Now, I want to crash my app to check the crash report.
Sadhu
  • 850
  • 2
  • 9
  • 18
5
votes
0 answers

React Native - Touches not working after initializing app with splash screen and navigation.setRoot()

I've started with this base project (React Native Firebase): https://github.com/invertase/react-native-firebase I've integrated React Native Navigation V2: https://wix.github.io/react-native-navigation/v2/#/ as well as React Native Splash Screen…
5
votes
4 answers

React Native: Podfiles causing name collusions

I am getting an error: Ambiguous resolution: module ".../myModule.js" tries to require 'react-native', but there are several files providing this module. You can delete or fix them:…
user8951490
  • 833
  • 1
  • 10
  • 21
5
votes
1 answer

My screen names aren't appearing in Firebase Analytics Dashboard

I am trying to track screen names on react-native-firebase in conjunction with react-navigation. Here is my code. const tracker = firebase.analytics() function getCurrentRouteName(navigationState) { if (!navigationState) { return…
5
votes
0 answers

App restarts after selecting an image from gallery in react native android

I'm using react-native-image-picker module. picking photos from gallery.Then restarts(sometimes) the app without showing any error, taking a photo from camera works fine. I tried to upload image in firebase database.
5
votes
2 answers

react-native-firebase vs react-redux-firebase?

Background: I have started using react-native-firebase with react-native to integrate with Cloud Firestore. I'm going to start bringing redux into my test application. Question - Is react-native-firebase ok to continue with as my choice of…
Greg
  • 34,042
  • 79
  • 253
  • 454
4
votes
0 answers

React Native Firebase problem with emulator on physical device

I am programming an app with React Native. To use Firebase in this app, I installed the React Native Firebase npm package. I have set up everything to make requests to Firebase functions and this works smoothly. I am currently trying to set up the…
4
votes
3 answers

> Task :@react-native-firebase_messaging:compileDebugJavaWithJavac FAILED

When I try to make android build using these commands yarn run android OR react-native run-android then I have shown this error. Please help mw solve this error. here's package.json "@react-native-firebase/admob": "^11.5.0", …
vjtechno
  • 452
  • 1
  • 6
  • 16
4
votes
0 answers

Google and Apple Sign-in Firebase not working in TestFlight for expo app

I am working on an app that requires SignIn with Apple and Google via FireBase. In development mode, signIn was working fine with both. But after deploying it in TestFlight, I cannot SignIn with Them anymore. also the code for SignIn with Google and…
Shima K
  • 73
  • 2
  • 2
  • 12
4
votes
1 answer

How to implement signInWithEmailLink in React Native using rnfirebase dynamic links and auth modules v6

What I want to do: On reset password button click send a letter to user's email using auth().sendSignInLinkToEmail(, actionCodeSettings); After user clicks on the received link he gets navigated to the app and using…
4
votes
0 answers

Does Firebase Dynamic Links secure?

Deep links have a known vulnerability both in Android and IOS, does dynamic links protect app from these vulnerabilities? Can secret information be sent via Dynamic link?