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
8
votes
7 answers

Execution failed for task ':react-native-firebase:compileDebugJavaWithJavac'

In my React Native 0.60.4 app i'm trying to use react-native-firebaseand i have done everything except react-native-link as it's not supported in the latest version of React Native. When i give command react-native-run-android,it shows a lot of…
Tanmoy Sarker
  • 1,176
  • 2
  • 14
  • 38
8
votes
2 answers

Is it okay to store a lot of data with Async Storage? [React Native]

I’m working on a react native app where I have my firebase database storing an inventory of about 10000 items. So I need to store that data locally and I was thinking of saving each item into his own key with async storage. Is that okay or is there…
8
votes
0 answers

How can I wake up device when notifications arrived on Android with react-native-firebase?

I'm developing the notification feature using react-native-firebase on React native in Android. Most of the features(such as remote notification on foreground and background, displaying local notification) are well implemented, but there's one…
Josh
  • 1,042
  • 1
  • 9
  • 17
7
votes
2 answers

How to debug react-native app using reanimated and firebase

native developers. I have been developing and maintaining a react-native app for the past four years now. Now I have come to a point where I no longer know a way to debug my app. I am using recent versions of both react-native-reanimated and…
7
votes
1 answer

react-native 0.64.2 firebase compilation error on setScreenName

Firebase compilation in error at [FIRAnalytics setScreenName ...] in RNFirebaseAnalytics.m when updated to react-native 0.64.2 from 0.61 node_modules/react-native-firebase/ios/RNFirebase/analytics/RNFirebaseAnalytics.m:20:19: error: no known class…
Rizwan
  • 3,324
  • 3
  • 17
  • 38
7
votes
4 answers

WARN No task registered for key ReactNativeFirebaseMessagingHeadlessTask in react native?

I have created a push notification using react-native Firebase and react-native-push-notification. i have implement all types of notifications like local, schedule background and quit. But i have sent the push notification by FCM when my app in quit…
7
votes
1 answer

How to resolve React Native Firebase Error (messaging().getToken()), related to react-native-device-info

I am in the process of migrating react-native-device-info from v2 to v3 and I have a breaking change. Prior to updating the package, everything was working fine. The error appears on all emulators and real devices. The error I get is:…
7
votes
1 answer

Is it necessary to use await for analytics().logEvent?

Sometimes some of my events do not get logged in the Firebase DebugView and I'm currently trying to find out why. We decided about leaving out the await for firebase.analytics().logEvent(...), and now I wonder if that could lead to the missing…
27leaves
  • 191
  • 1
  • 11
7
votes
2 answers

how to fix error "No task registered for key RNFirebaseBackgroundMessage" when my app is closed for getting fcm message

my AndroidManifest is in index i wrote AppRegistry.registerHeadlessTask('RNFirebaseBackgroundMessage', () => firebaseBackgroundMessage); that firebaseBackgroundMessage is a function as below export async function…
Samira Gheibipour
  • 380
  • 1
  • 3
  • 15
7
votes
1 answer

Group notifications by id and display like Whatsapp

I've been trying to group notifications by an id to have them displayed as WhatsApp for example, without having one notification per line. Adding setGroup in either onNotification or onNotificationDisplayed seems to have no effect see examples…
7
votes
2 answers

Unable to fetch data from Firebase Firestore in react native

I am trying to GET data from Firestore but I cannot see data coming. I am building a react-native app. I am using react-native-firebase. I also tried Transactions method from react-native-firebase documentation. But nothing is working. Here' my…
7
votes
3 answers

react-native error after import firebase

I have installed firebase package in my project using cmd npm install --save firebase When I import firebase to my react-native project import firebase from 'firebase' I'm getting this error. What could be the problem?
7
votes
5 answers

Error: 400: Your project does not own Dynamic Links domain

I'm using react-native-firebase to create dynamic links, when I create standard link everything works fine, but when I'm creating short link, it gives an error: "Error: 400: Your project does not own Dynamic Links domain". Any ideas how is possible…
Lucky_girl
  • 4,543
  • 6
  • 42
  • 82
7
votes
0 answers

react-native-firebase and Proguard: can't find superclass or interface

I have a React Native app, and I am having trouble creating a Release build for Android. My issues started after adding react-native-firebase and the necessary Android Firebase dependencies. I keep getting proguard errors even though I have…
the 1
  • 111
  • 5
6
votes
0 answers

Firebase Crashlytics React Native: Not able to understand stacktrace

So I am getting this [see Image] as a stacktrace after integrating react-native-firebase and I am able to understand it. Message is correct "undefined is not an object". But Line Numbers are missing. This is no file name. If there is any way I can…
mudit_sen
  • 1,470
  • 15
  • 24