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
54
votes
10 answers

Get Error : Firestore: The caller does not have permission to execute the specified operation. But I have already signed in

I have this problem and try to fix with all solutions I had found,but still not works. My rules in firebase cloud firestore is : service cloud.firestore { match /databases/{database}/documents { match /{document=**} { allow read,…
Kakata Kyun
  • 573
  • 1
  • 5
  • 12
51
votes
20 answers

APNS device token not set before retrieving FCM Token for Sender ID - React Native Firebase

I have been following this tutorial to set-up Remote Push notifications on my react-native application using react-native-firebase Version 5.2.0. After I configured everything and ran the application I get an error as: APNS device token not set…
Prabash Darshana
  • 985
  • 2
  • 9
  • 17
22
votes
1 answer

Firebase & iOS 14 > Will dynamic links tracking and campaigns continue to work?

As most of you are probably aware of, iOS 14 will basically put an end to app acquisition tracking as we know it. Here are two great articles that explore the issue in length: The App Attribution Industry Is Dead How To Prepare Your Mobile App and…
22
votes
12 answers

Java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/FirebaseApp

This is React Native project. I have an error after successful build in Android Studio Emulator: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/FirebaseApp My files: package.json: ... "react-native":…
21
votes
1 answer

How to setup sendSignInLinkToEmail() from Firebase in react-native?

Working on a react-native project using @react-native-firebase/app v6 we recently integrated signing in with a "magic link" using auth.sendSignInLinkToEmail We couldn't find a good example on how to setup everything in react-native and had different…
kidroca
  • 3,480
  • 2
  • 27
  • 44
21
votes
10 answers

Command Failed: gradlew.bat installDebug error whenever installing dependencies like navigation, firebase, icons etc in React-Native

When ever i install any dependency in my react native project and when ever i use link command for e.g react-native link react-native-gesture-handler this causes me an error shown in the image [1]. It doesn't build the project shows the error…
20
votes
4 answers

Error: RNFirebase core module was not found natively on iOS

I created a new app and I am trying to use react-native-firebase. But I continually get this error: RNFirebase core module was not found natively on iOS, ensure you have correctly included the RNFirebase pod in your projects 'Podfile' and have…
user8951490
  • 833
  • 1
  • 10
  • 21
19
votes
3 answers

What's the difference between Firebase JavaScript SDK and react-native-firebase

I am trying to use to use Firebase (Cloud Firestore) for a react-native app, to store my JSON objects. I ve seen people using Firebase in their apps (npm install firebase), and others using react-native-firebase. Most blogs say that Firebase itself…
19
votes
2 answers

How can we use Firebase Analytics with an expo based react-native app

I am trying to add Firebase Analytics (FA) to my react-native app. Actually, I didn't find a problem to put Google Analytics (GA) using this library expo-analytics. But apparently Firebase analytics is more powerful and it is really built for mobile…
16
votes
2 answers

ERROR: Could not find method platform() for arguments - React Native - Firebase

Has anyone faced this issue following the official documentation for react-native-firebase? ERROR: Could not find method platform() for arguments [com.google.firebase:firebase-bom:21.1.0] on object of type…
buddhiv
  • 692
  • 1
  • 7
  • 24
16
votes
3 answers

How to remove use_frameworks! AND keep using swift pods on an objective-c project?

our project is an Objective-c project. Since we're using react-native-firebase we can't use use_frameworks! in cocoapods any more. The problem is we have a swift pod dependency (PromiseKit) and to use swift dependencies we must use use_frameworks!…
SudoPlz
  • 20,996
  • 12
  • 82
  • 123
15
votes
3 answers

Can't get data from React-Native-Firebase(v6) Firestore: undefined is not a function (near '...this._firestore.native.collectionGet...')

I've been stuck on this issue for so long. I just started implementing Firestore in my react-native application with react-native-firebase. I'm just following the docs…
15
votes
2 answers

Firebase User Profile Add Custom Fields

Is it possible to add custom fields to the user profile table in Firebase? Right now it looks like I can only add data to: "uid" "displayName" "photoURL" "email" "emailVerified" "phoneNumber" "isAnonymous" "tenantId" …
15
votes
1 answer

Crashlytics - Stacktrace in Firebase logs is not readable

I just started using React Native Firebase and Crashlytics (version 6). When I call firebase.crashlytics().recordError(error) in a JS catch block I see errors similar to the following in the Firebase Crashlytics logs. Is this the expected…
DowntownDev
  • 842
  • 10
  • 15
15
votes
2 answers

library not found for -lRCTGeolocation

Have installed react-native-firebase & and i'am using my project.xcworkspace for getting build on iOS with Xcode that was fine when I installed only auth & core packages. When i installed messaging package I get the error "library not found for…
1
2 3
89 90