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
4
votes
2 answers

How do I run my React Native application on my device rather than in IPhone 6 simulator?

I have been reading React Native's documentation as well as forums, and answers to similar questions but cannot figure out how to run my application on my device. I have tried what was mentioned in this question "Run react-native application on iOS…
4
votes
1 answer

Android: Notification not recieved when app is killed using react-native-firebase

I am using react-native-firebase in react-native project for Firebase cloud messaging. It is working fine when app is running or in background/minimised. But notification not received when app is killed or not opened after mobile restart. I am…
Syed Hassan
  • 438
  • 4
  • 19
4
votes
1 answer

Second orderBy query does nothing in Firestore (react-native-firebase)

EDIT So after reviewing this problem with firebase developer this is working by design and there is no actual way to acheive this. Offical response from firestore dev: Admittedly certain kinds of queries are difficult, if not feasible, when…
4
votes
4 answers

react native - not receiving notification when app is killed/not started

I am using react-native-firebase@4.2.0 for push notifications. When app is open on screen, I receive the notification via onNotification and an alert as intended by my code. PROBLEM 1 When app is in background (not killed), I receive the…
Ketan Malhotra
  • 1,255
  • 3
  • 16
  • 44
4
votes
2 answers

All firebase libraries must be either above or below 14.0.0 (react-native-maps & react-native-firebase)

I am trying to add react-native-maps into my react-native-firebase starter app. I did not get the error until I tried adding react-native-maps. Below is the code after I followed their instructions exactly. I tried changing the maps dependency to…
Brian Kopp
  • 429
  • 4
  • 6
4
votes
0 answers

React-Native Firebase custom events not showing in DebugView mode on iOS

So I followed all the instructions, installed the library and linked it with react-native link react-native-firebase Added the correct code in my AppDelegate.m with my GoogleService-Info.plist file added in my XCode project. I also added…
Sam Bellerose
  • 1,782
  • 2
  • 18
  • 43
4
votes
1 answer

Firestore onSnapshot() and get() causing Android App to Crash

Issue Firestore onSnapshot() and get() causing Android App to Crash. I am certain that I did not do anything wrong in the programming and settings. Can someone enlighten me as to where I did wrong? try { const ref =…
4
votes
1 answer

How to force firebase storage to return a new signed url when uploading to the same path?

I am uploading images for user profiles to Firebase with a path such as profiles/${userId}/image.jpg. After every upload, I trigger a cloud function that gets the signed url with GCS like in this example: const SIGNED_BUCKET_URL_CONFIG = { …
4
votes
0 answers

App has stopped when running in android - react native firebase

I'm using react-native-maps & react-native-firebase. When I'm running react-native run-android. my app is success to build, but the app has stopped. im already try clean gradle, change build version, but the result still same build.gradle //…
Endy Santoso
  • 591
  • 7
  • 21
3
votes
0 answers

Firebase Auth email already use with account linking enabled

Here is my issue. I want to allow my users to sign in in my app using different providers (Apple & Google) If the email is the same, they should link to the SAME user My issue is that I have enabled the setting on Firebase Console. Authentication…
3
votes
1 answer

Expo multiple enviroments for react-native-firebase googleServicesFile

I have a problem that I don't know how to deal with. In my app (Expo SDK 48) i want to have a separate googleServicesFile source for each expo environment, i.e. for the dev environment I want a separate googleServicesFile for dev, and the same for…
3
votes
0 answers

Integrate Google Play integrity in react-native

Is there any proper documentation to integrate google play integrity check in react-native cli I have tried react-native-firebase/appcheck but not get proper solution
3
votes
1 answer

React Native Firebase: Trying to port to a new firebase project but app shows older values

I am trying to port my existing RN app from an older firebase project to another one. But when I change the google-services.json to a new one pointing to the new Firebase project the references to my older Firebase project still remains. Things I've…
3
votes
1 answer

Firebase modular (v9) incompatible with Expo

I'm using Expo v42.0.1 and trying to install Firebase v9.0.2 and am unable to do so. Issue From running expo install firebase, firebase version 8.2.3 is installed. When changing the package.json to use firebase version 9.0.2, I get an error when…
Matt
  • 233
  • 1
  • 2
  • 12
3
votes
0 answers

React Native Firebase - signInWithPhoneNumber not returning confirmationResult

I'm using react-native-firebase for phone auth from firebase. I'm following the documentation from https://rnfirebase.io/auth/phone-auth // Handle the button press async function signInWithPhoneNumber(phoneNumber) { // Unreachable code.…