Questions tagged [react-native-firebase]
This tag is for the react-native-firebase npm package.
1,348
questions
0
votes
0
answers
23
views
When I try to upload my App Bundle in Google Play Console I get the error: "The following content provider authorities are in use by other developers"
When I try to upload my App Bundle in Google Play Console I get the following error:
"Remove conflicts from the manifest before uploading. The following content provider authorities are in use by ...
0
votes
0
answers
28
views
Why do I get [firestore/permission-denied] even though I allow all read and writes?
I've got a React Native project set up with React Native Firebase, and I am using Expo. In my firestore.rules the following configuration is defined.
rules_version = '2';
service cloud.firestore {
...
0
votes
0
answers
17
views
Transitioning from Firebase Web to React Native Firebase
I initially used Firebase Web for my React Native app and recently realized that using React Native has several advantages that I need.
If I were to transition then what are the main steps that I ...
0
votes
1
answer
18
views
Edit a single field within a map array in Firebase using JavaScript. (React-Native)
In firebase I have a data structure like this:
Is a map array with some values inside it.
(Using JavaScript) For example, if I wanted to update ONLY the field "field1" of the array at ...
0
votes
0
answers
26
views
Querying a list of document id's in a firestore collection using react native firebase [duplicate]
I'm using react-native-firebase. I have an array of document id's, and I need to query the associated documents by that array of id's.
I can do something like this:
firestore().collection('Foo').doc('...
0
votes
0
answers
42
views
React-Native Debugger Not working after user Login
Recently, I found one issue while trying to debug my React native app. I noticed that the debugger and react-native debugger worked fine before the user was authenticated using Firebase authentication....
0
votes
0
answers
23
views
Firebase Security Rules request.auth is null with React Native Firebase v6
My react native expo managed workflow app is using google sign in with @react-native-firebase and @react-native-google-signin. The user state is authenticated and auth().currentUser is returning the ...
-2
votes
0
answers
23
views
Error: auth/too-many-requests React native firebase?
Error: [auth/too-many-requests] We have blocked all requests from this device due to unusual activity. Try again later.] React native firebase?
I have using react native firebase, and I have applied ...
0
votes
0
answers
39
views
React Native Firebase - Crashlytics and Hermes - Unreadable stacktrace
We are using react-native-firebase Crashlytics and we recently enabled Hermes Engine. Since then, we didn't manage to decipher our errors stacktrace. Before that, this solution worked just fine for us:...
0
votes
1
answer
66
views
Decode react native firebase Crashlytics stack trace
I'm using firebase crashlytics with my react native app version 0.71.4, and I've this stack trace from crashlytics console:
Non-fatal Exception: io.invertase.firebase.crashlytics.a: undefined is not a ...
1
vote
0
answers
66
views
Show immediately ringing call, when data-only push notification is received [ANDROID]
I am using react-native-callkeep in order to manage calls. I have the problem, that the native ringing call does not happen, when I get a data-only background push notification. I want it to be like ...
0
votes
1
answer
94
views
React Native App not build after setup Firebase
Hello I configured firebase for my ios application.
But I see bunch of notes from terminal like this:
Prepare packages
Computing target dependency graph and provisioning inputs
Create build ...
0
votes
0
answers
13
views
@react-native-firebase/crashlytics does not give exact file name for the crash
I was trying to work with @react-native-firebase/crashlytics. I can see crash issue(not very much readable) but I cannot see the exact javascipt file name of that crash in the firebase console.
Is it ...
0
votes
1
answer
16
views
react-native-firebase orderBy query not working
I try to sort data then get them from the database using the following query:
import firestore from '@react-native-firebase/firestore'
// not working
const query = await firestore().collection('...
1
vote
1
answer
46
views
> Could not find com.google.gms.google-services:4.3.150000:. Required by: project :
/build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
buildToolsVersion = "33.0.0"
...
0
votes
0
answers
16
views
Issue when performing firestore actions after creating user account
After creating a user in firebase, it seems that the firestore actions are not happening, it creates the user in the authentication but the firestore database does not create the data (I don't get any ...
1
vote
0
answers
42
views
auth().isSignInWithEmailLink(link.url) returns false for some reason
Currently, I'm creating an app using react-native expo and Firebase.
So far I succeeded in connecting to my project through android and also succeeded signing up through all the methods I tried ...
1
vote
0
answers
144
views
React Native Firebase crashlytics().recordError not showing in dashboard
I have Firebase Crashlytics set up on a project and I know it's working (since it occasionally indeed shows some of the errors at the correct file).
I try crashlytics().recordError(err, 'api_error') (...
1
vote
0
answers
29
views
firebase messages deliver to ios from postman but not from server
We are using React Native to build a react app. We want to move to data-only notifications to have more control over the notifications (using notifee library).
I am able to send a test notification ...
0
votes
0
answers
199
views
React Native error on android "Cannot read property 'setDryRun' of null, js engine:hermes"
I am developing a react native application which is working absolutely fine on iOS but when I ran application on android, I got this error
I did a lot of RnD but didn't any solution. I may think it ...
0
votes
1
answer
91
views
@react-native-firebase/messaging getInitialNotification returned null
package.json
"@react-native-firebase/app": "^18.3.0",
"@react-native-firebase/messaging": "^18.3.0",
App.js
firebase.messaging().getInitialNotification().then(...
2
votes
1
answer
108
views
How to Debug Analytics in React Native Firebase using Expo?
I'm working on an app in React Native and I use Expo to run it on iOS and Android simulators.
I've connected React Native Firebase to React Navigation and I use logScreenView to log data to GA.
How ...
0
votes
1
answer
37
views
Get another function's parameter types for use in another function's ...rest parameter
For some background, I am trying to write a function that can call any existing method of React Native Firebase Analytics within an Expo project that is accounting for whether the app is running in ...
0
votes
1
answer
34
views
in react native, text field does not show new value when it is changed in realtime firebase
I am coding in react native, and I need to pick up a value from realtime google firebase. I am able to get the value (1), but when it changes on the db, it does not in the text field on my app (2). in ...
0
votes
0
answers
36
views
Build failed after installing React Native Firebase
I ran through this guide:
https://docs.expo.dev/guides/using-firebase/#using-react-native-firebase
And the Managed Workflow section of this guide:
https://rnfirebase.io/#managed-workflow
In order to ...
0
votes
0
answers
29
views
How to avoid querySnapshot.docChanges() to listen all the eixsting documents as "added"
We are implementing firestore in a chat. At first render we send a request to fetch 10 documents from the chat. At the same time to listen the realtime changes in these documents. querySnapshot....
0
votes
1
answer
83
views
React Native Firebase setup for both iOS and Android
I'm building a simple app in React Native using Expo. I'd like to use the React Native Firebase library so I have access to things like Google/Apple oauth and analytics. I'm reading through the "...
0
votes
0
answers
35
views
Unusual and unidentified traffic from Android: Potential causes?
I have published an app on both iOS and Android, and since about a month ago, I have been receiving strange and unidentified traffic from Android:
On Google Analytics, lots of traffic from Android ...
0
votes
0
answers
24
views
Token is not updated and results into expired token (react-native-firebase/auth)
I have a problem in our expo app that if the token expires when the user is using our app, it returns an Error 401. I'm using FirebaseAuthGuard in our BE to authenticate the token. If I close and open ...
1
vote
0
answers
82
views
Firebase update multi-factor phone number
I want to have an option in the app to update MFA phone number.
It seems like using updatePhoneNumber(credential) is not correct because phone number must be enrolled as a second factor and not ...
0
votes
1
answer
63
views
Firebase analytics production events not containing all param data when comparing to dev environment
Looking at the events from last 30 mins if you count all the different events types you get a sum very far from the overall event count. (By example if you count the language type ones)
It appears ...
0
votes
0
answers
80
views
Expo-Camera is crashing when i build the application, but it runs perfectly while debugging
I am using expo in react native cli. The versions of library are as below :
"expo": "^48.0.0",
"expo-camera": "^13.2.1",
"expo-face-detector": "^...
0
votes
0
answers
179
views
React-Native iOS app is not receiving data-only messages (content_available does not work)
Disclaimer: This is very similar to several posts, but I have been through all of them and the solutions given did not work for me.
Previously, I was using native push notifications and react-native-...
0
votes
0
answers
30
views
How can users be redirected from a Firebase cloud notification to a specific filtered result on a page within the iOS and Android apps?
Using React Native, we have created an iOS and Android app that allows users to book sessions at an indoor workout studio based on the date and time that they want. On occasions, these sessions have ...
0
votes
0
answers
58
views
React Native Firebase App and AdMob version dependency problem
I want to use @react-native-firebase/admob to show ads in my react native application but I am getting dependency problem while trying to run my application in android emulator.
Error
> Task :app:...
0
votes
0
answers
239
views
React-Native Upgrade Issue: ERROR - ViewPropTypes will be removed from React Native
I've recently upgraded my React-Native application from [email protected] to 0.71.0. Following this upgrade, I've encountered an error when attempting to run my application:
ERROR: ViewPropTypes ...
0
votes
0
answers
81
views
import auth from "@react-native-firebase/auth"; to expo project causes problem only in ios
I get this error message
`Invariant Violation: Your JavaScript code tried to access a native module that doesn't exist.
If you're trying to use a module that is not supported in Expo Go, you need to ...
0
votes
1
answer
54
views
react Native firebase authentication Persisting issue
I am using this React Native firebase library React-native firebase. whenever I reload the app or restart, the simulator I have to sign in again and user data is not saved in the emulator memory as ...
0
votes
1
answer
69
views
Is it possible to integrate @react-native-firebase/app with react-firebase-hooks?
I'm trying to integrate the @react-native-firebase/app package with react-firebase-hooks in my React Native application. However, I'm facing an error "TypeError: Cannot read property 'getProvider'...
0
votes
0
answers
16
views
How would I make a save feature that stores the place a user drags multiple panhandlers to and then have a load feature for each save?
I have a lineup of panhandlers. The user can drag each of these panhandlers wherever they want to on the screen. I want to be able to save where the user leaves the panhandlers to firebase storage. ...
0
votes
0
answers
31
views
Unable to resolve "firebase/app" from "screens\LoginScreen.js"
I have a firebase.js file containing the Firebase configuration with the code provided below. I also have a RegistrationScreen.js file containing the following code:
import React, { useState } from '...
0
votes
0
answers
90
views
Problem with Icon react native Expo using fcm icon notifications
I'm trying to make my notification icon look correctly when I receive it on my cell phone.
I have tried adding in my app.json.
My image is .png and has a white background and blue lettering text.
I ...
0
votes
0
answers
188
views
react-native-firebase messaging... onInitialNotification is always returning null
I am attempting to use react-native-firebase messaging to open my app from a 'quit' state. I have read the documentation and researched, but I am stumped. Below is the code I am currently using to ...
0
votes
0
answers
65
views
firebase and react-native-permission in react-native has error in IOS
I installed firebase for a react-native project. while installing i was need to add use_frameworks! to project.
now i am going to add react-native-permission for using camera
I faced bug i can't ...
0
votes
0
answers
47
views
React firestore inconsistency while fetching data using onSnapshot
i'm trying to fetch data from firestore using the onSnapshot listener, but i'm getting old values instead of new updated/updating values, even though I change the data manually from firebase console, ...
0
votes
1
answer
15
views
Is it safe to ignore the TypeError "TS2693: 'FieldPath' only refers to a type, but is being used as a value here."?
I've run into a strange issue where if I import some Firebase types directly in my code I get "undefined is not an object" errors, but if I import them in an intermediary file and use them ...
0
votes
1
answer
38
views
On calling messaging().getToken() returns object
I'm using @react-native-firebase/messaging version 11.5.0.
and when i request messaging().getToken() from saga, it throws below response Object:
{"_A": null, "_x": 0, "_y"...
0
votes
1
answer
115
views
messaging().onNotificationOpenedApp and messaging().getInitialNotification() not working in React native IOS app & working in Android
as Mentioned in subject
messaging().onNotificationOpenedApp and messaging().getInitialNotification() are not working in React native IOS app but its working in Android
I have dependancy which uses ...
0
votes
0
answers
400
views
setBackgroundMessageHandler not working if app is in quit state on Android
I'm using react-native-firebase fcm with Expo Managed Flow, I'm managing to receive notifications perfectly, in the background, foreground and quit state.
My only issue is that the ...
0
votes
0
answers
353
views
Restarting a React Native application while having a Firebase messaging listener open crashes application
Restarting a React Native application while having a firebase messaging listener active crashes application
I use react-native-firebase/messaging to listen for changes to one of my APIs like so on my ...