Questions tagged [react-native-firebase]
This tag is for the react-native-firebase npm package.
66
questions
9
votes
4
answers
15k
views
Which react hook to use with firestore onsnapshot?
I use a lot of firestore snapshots in my react native application. I am also using React hooks. The code looks something like this:
useEffect(() => {
someFirestoreAPICall().onSnapshot(snapshot ...
10
votes
10
answers
15k
views
FB login - Firebase.Auth() Error: The supplied auth credential is malformed or has expired
I'm using react-native-fbsdk: 0.8.0, react-native-firebase: ^5.2.2, react-native: ^0.57.4 and Facebook Test User account.
This happened so suddenly.
Once I sign out from firebase and try to log in ...
2
votes
0
answers
2k
views
Update Phone Number in Firebase Authentication - React Native
I have a screen it's a settings screen and I have an input that's for update data,
so I want to update the signed phone number how can I achieve it?
and how did I get the credential?
here's my code
I ...
3
votes
2
answers
2k
views
Fresh Detached Expo + RNFirebase not running on Android
So I'm trying to start an app using the Detached Expokit and React Native Firebase (v3)
I made a fresh project with exp cli,
followed all the instructions at https://invertase.io/react-native-...
28
votes
5
answers
37k
views
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 {
...
3
votes
1
answer
2k
views
How to disable recaptcha in react-native-firebase?
Recently I have updated @react-native-firebase/auth, and now there is Recaptcha verifier added to the updated version.
But I dont want, even I didnt configure any Recaptcha but it is automatically ...
1
vote
1
answer
2k
views
firebase cloud messaging didn't see xiaomi devices
I'm building an react native app. I want to send cloud messages from firebase but i can't. i prepared project and install on my devices. one of them samsung other one is xiaomi. when i send ...
9
votes
2
answers
14k
views
The sms code has expired. Please re-send the verification code to try again
Whenever I tried to login with phone number using react-native-firebase sdk, I recieve OTP code through sms and when I submit the recieved code, an error is there saying:"The sms code has expired. ...
15
votes
7
answers
108k
views
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 ...
20
votes
3
answers
9k
views
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 ...
15
votes
3
answers
5k
views
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-...
13
votes
3
answers
8k
views
how to catch error in firestore when no internet
I recently updated my app from firebase to firestore but stuck at offline persistance. I am using react-native-firebase to integrate firestore and disable its perisistance but still not getting any ...
2
votes
1
answer
563
views
Running a scheduler for each user in Firebase Cloud Functions?
I wish to run a scheduler which runs according to each user in my cloud functions and not universal scheduler which runs at the same time for all users.
For example, if a UserA performs a certain ...
20
votes
11
answers
54k
views
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:
...
13
votes
13
answers
29k
views
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 ...