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
0
votes
1 answer

RN Firebase Pod Install modifies Lock Dependency With Quotes "GoogleToolboxForMac/NSData+zlib (~> 2.1)"

When I pod install I am getting one dependency which has quotes around it. I don't want these quotes, and also want to know what they are. The issue is on my team others run this command and do not get the quotes around …
mibbit
  • 4,997
  • 3
  • 26
  • 34
0
votes
1 answer

RNFetchBlob is not working to upload image

I am trying to make a upload function for my Firebase Cloud Storage. I am using RNFetchBlob, along with react-native-image-picker. I can select photos, but it will not upload. All other Firebase functions works great and it is installed through…
0
votes
1 answer

Scheduled notification without icon on Android when using React Native Firebase

I'm building a React Native application using TypeScript. For my scheduled local notifications I use React Native Firebase. On android no icon is shown when the scheduled notification comes in. Here are is my AndroidManifest.xml:
0
votes
3 answers

React Native Firebase updating to 5.0.0 ios errors

After updating react-native-firebase to 5.0.0 I then had to update to react-native 0.57.1 After updating react native when I go to do react-native run-ios I get a version mismatch error. saying that the javascript version 0.57.1 is different from…
Andrew Irwin
  • 691
  • 12
  • 40
0
votes
0 answers

RNFirebase - Update Phone number

I have implemented PhoneAuth using RNFirebase and looking for an example to provide the ability to update the PhoneNumber if the user switches from one number to the other. I do see that there is a updatePhoneNumber API but still not clear on using…
0
votes
1 answer

react-native run-android build failed Could not find com.google.android.gms:play-services-measurement-api:9.8.0

Trying to build my react native project after adding React-native-firebase to the application is causing it to fail to build the application. I am getting the following error: * What went wrong: Could not resolve all files for configuration…
0
votes
1 answer

React Native Firebase. After pushing data to firebase database I get null instead of snapshot in then()

I use React Native Firebase for working with Firebase. In redux action I have: export const startAction = (item) => { return (dispatch) => { firebase.database().ref(`/users/${firebase.auth().currentUser.uid}/some/`) …
John Smith
  • 1,204
  • 3
  • 22
  • 42
0
votes
1 answer

How to get and pass the JWT through to server?

I am using React Native Firebase Auth, however my user profiles are actually stored in my relational database. Because of this, I have mapped the Firebase uid => PostgreSQL integer id. (Thinking of just using uid for everything to keep it simple…
atkayla
  • 8,143
  • 17
  • 72
  • 132
0
votes
2 answers

Add replies to Android notifications while using react-native-firebase

Android 7.0 introduced the ability for users to enter text directly into a notification in order to respond to it, without opening the app. I am using the react-native-firebase project in order to receive push notifications in my React Native app.…
0
votes
0 answers

react native firebase how to trigger authstatechanged on other devices when profile updates

I am trying to figure out how I can trigger authstatechanged when the user updates their displayName or email on other devices. I tried the experimental onUserChanged but that only works on the same device the user made the change. Right now the…
0
votes
1 answer

Fabric manual integration with react-native-firebase on iOS

I'm trying to manually integrate fabric and crashlytics into my react native iOS project without using CocoaPods following this guide: https://rnfirebase.io/docs/v4.3.x/crashlytics/ios Steps I've taken so far I've added the Fabric and Crashlytics…
0
votes
2 answers

The custom token corresponds to a different audience

I'm using firebase for authentication on my app, while developing I created a firebase project which I was using for that purpose, but now I've to sync it with another app. So on updating my google-services.json I'm getting the below error and am…
Roy
  • 471
  • 5
  • 15
0
votes
1 answer

react-native-firebase - App Crash after Push Notification Received (Android)

I have a NodeJS Server and when my React Native app receive a Push Notification from the Server, the app stop working. In the Emulator the app just close and in the Cellphone with a Release APK isntalled the app close and show an alert saying that…
0
votes
2 answers

Using componentWillUpdate with switch statements

I am using React-Native and React-Native-Firebase and am trying to have my Events component make a different Firebase query (and then update redux store) depending what the value of the activityType prop is. Here is the parent component which is…
0
votes
1 answer

Error: reactNativeFirebase2.default.auth is not a function

I have a SignUp.js Component used to sign up users to my app. It is inspired/copied from this tutorial and is based on react-native-firebase starter kit. // SignUp.js import React from 'react'; import { StyleSheet, Text, TextInput, View, Image,…