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
11
votes
3 answers

react-native-firebase install - package io.invertase.firebase does not exist?

I am getting the following issues when running "react-native run-android" in my project. I've gone through the react-native-firebase per normal but in this case I can't quite see what I might have done wrong? …
Greg
  • 34,042
  • 79
  • 253
  • 454
10
votes
1 answer

How to fix firebase "User is not authorized" error even though user is authenticated in registration flow?

Im trying to do a variety of firebase actions in one call in a react-native app using react-native-firebase. the flow goes something like this: create user in authentication send image to storage send data to firestore During the image-storage…
10
votes
2 answers

Unable to view Firebase Analytics Debug View React Native

I've followed multiple tutorials and read multiple Stackoverflow posts, but no matter what I do, I can't get anything to show up in my DebugView for my iOS app using RNFireBase. I would really appreciate some help with this. I've lost days trying to…
10
votes
2 answers

How to remove MainActivity and UIViewController from screen tracking in React Native Firebase Analytics?

I have successfully implemented screen tracking for a react native project that uses react-navigation with react-native-firebase/analytics. Looking at the dashboard under events I see the following events (image below). As you can see the top 2…
10
votes
1 answer

Can't get setBackgroundMessageHandler to work

In react-native-firebase v6, I can't get setBackgroundMessageHandler to work in my app. Notifications are received just fine but the handler is not executed. I have done it like in the guide to no avail. import { AppRegistry } from…
Dorklord
  • 416
  • 2
  • 6
  • 17
9
votes
4 answers

After installing react-native-firebase/app it's Build will failed in react-native ios

After installing react-native-firebase/app@15.3.0 with react-native-0.68.1 using use_frameworks! and remove flipperin the podfile of the project , but when i ran npx react-native run-ios it's Build failed The following build commands failed: Ld…
React_Coder
  • 353
  • 2
  • 12
9
votes
1 answer

Upgrading target sdk to 29 on React Native 0.59

My current android target sdk on React Native is 28, but Play Store is showing to update it to 29. So I made the following changes in android/build.gradle buildscript { ext { googlePlayServicesVersion = "16.0.0" firebaseVersion =…
9
votes
2 answers

What does FirebaseAppDelegateProxyEnabled do?

My issue (background notifications): I am using React Native Firebase. Everything is fine until recently I updated to version 6.7.1 of the library. After the update background notification(while app is closed) stopped working. Foreground is…
Kash
  • 1,663
  • 3
  • 24
  • 33
9
votes
1 answer

Dynamic links not redirecting to app store if app not installed in ios

I am using firebase dynamic links. This is working fine as app in installed on ios or android. as if app not installed on android it redirects me to play store. but in ios if app is installed it is working fine. but as i uninstall ios app then it is…
9
votes
5 answers

How to use Firebase's 'verifyPhoneNumber()' to confirm phone # ownership without using # to sign-in?

Im using react-native-firebase v5.6 in a project. Goal: In the registration flow, I have the user input their phone number, I then send a OTP to said phone number. I want to be able to compare the code entered by the user with the code sent from…
Jim
  • 1,988
  • 6
  • 34
  • 68
9
votes
4 answers

NativeFirebaseError: [storage/unauthorized] User is not authorized to perform the desired action

I'm having problems uploading an image to Firebase Storage. I'm using React Native's @react-native-firebase/storage and the installation and connectivity seem to be fine because I'm able to reference images just fine: const ref =…
9
votes
1 answer

onNotificationOpened and getInitialNotification not getting triggered react-native-firebase

I have used react-native-firebase in my react native project[android platform] to show the app notification. With this library i am able to show the notification when the app is in the foreground/background/closed state. According to the react…
Selvesan Malakar
  • 511
  • 2
  • 7
  • 20
9
votes
6 answers

Expo and react-native-firebase

I'm trying to integrate Firebase into my expo app using the react-native-firebase framework which has several advantages over the regular firebase package when it comes to react-native apps. However, I'm running into difficulties since the…
MarksCode
  • 8,074
  • 15
  • 64
  • 133
8
votes
6 answers

When I try to build for production this error comes up

When I try to build for production, this error comes up. I'm using React Native Firebase. This error happens on android. Here is the error * What went wrong: Execution failed for task ':react-native-firebase_app:generateReleaseRFile'. > Could not…
Struan Mclean
  • 111
  • 1
  • 3
8
votes
4 answers

React Native Firebase Social Auth doesn't work on release

So, my app is already on Google Play and out of a sudden my social auth isn't working anymore. It works fine on debug and when I run --variant=release on the terminal, but it doesn't work when I download the apk from the store in internal testing.…
1 2
3
89 90