react-native-firebase

Deleting User account with using Passwordless Authentication?

情到浓时终转凉″ 提交于 2020-03-05 03:19:09
问题 I have implemented passwordless SignUp/SignIn from firebase for my react-native app but I can't understand how will the delete account method work if it needs to be reauthenticated with a password or needs a recent SignIn to refresh the token?? In short, how should I use reauthenticateWithCredential() when I'm using Passwordless Authentication?? 回答1: The Firebase documentation on Linking/re-authentication with email link has an example of how to get a credentials object from the email link

The custom token corresponds to a different audience

时光总嘲笑我的痴心妄想 提交于 2020-01-06 07:46:19
问题 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 not able to connect to firebase. The custom token corresponds to a different audience. [App ID does not match requested prject.] How can I migrate my project to another one?? 回答1: Try clearing the app data, it may be loading something from storage

React Native with firebase java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/internal/zzbq

∥☆過路亽.° 提交于 2020-01-05 03:06:08
问题 I am following the tutorial here and also checked a similar issue on stack overflow Android 3.1.1 - Failed resolution of: Lcom/google/android/gms/common/internal/zzbq; so my firebase libraries are using same versions already. here is the error 06-16 18:46:28.987 18430-18430/com.myProject E/AndroidRuntime: FATAL EXCEPTION: main Process: com.myProject, PID: 18430 java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/internal/zzbq; at com.google.firebase.perf

Push notification not showing in Android foreground

拟墨画扇 提交于 2019-12-30 06:26:31
问题 I've used react-native-fcm for remote notification in android and iPhone. react-native-fcm In Android foreground I'm not be able to getting remote notification in notification bar. In background mode I'm able to getting notification successfully but some how in foreground doesn't. Android Manifest.xml <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.nusape"> <application> <receiver android:name="com.evollu.react.fcm.FIRLocalMessagingPublisher"/> <receiver

Querying user specific data (incl. population) with react-redux-firebase in one compose method

☆樱花仙子☆ 提交于 2019-12-24 14:28:37
问题 i'm working with react-native and have the problem to load only user specific data with firebaseConnect . Imagine there are thousends of todos , users and doers and don't want to reference all elements of them. First of all, a shortcut of my data structure in the real time database: - todos |- cleanRoom | |- createdBy: alica | |- title: "Clean the room up" | |- doerList | |- roomCleanerMichael | |- roomCleanerAlica |- playBall |- createdBy: michael |- title: "Play the ball" |- doerList |-

Deep links in react-native-firebase notifications

百般思念 提交于 2019-12-22 18:06:31
问题 I am using react-native-firebase with messaging to deliver notifications to my app with cloud functions, with admin.messaging().send(message), very similar to here: https://medium.com/the-modern-development-stack/react-native-push-notifications-with-firebase-cloud-functions-74b832d45386 . I receive notifications when the app is in the background. Right now I am sending a text in the body of the notification, like 'a new location has been added to the map'. I want to be able to add some sort

signInWithPhoneNumber() is not working in react-native

瘦欲@ 提交于 2019-12-20 07:08:48
问题 hi I am geeting this error in firebase.auth().signInWithPhoneNumber(phoneNumber) Error Domain=FIRAuthErrorDomain Code=17057 "User interaction is still ongoing, another view cannot be presented." UserInfo={NSLocalizedDescription=User interaction is still ongoing, another view cannot be presented., FIRAuthErrorUserInfoNameKey=ERROR_WEB_CONTEXT_ALREADY_PRESENTED} in RNFirebaseAuth.m. here is error const confirmResult = await firebase.auth().signInWithPhoneNumber(phoneNumber); if (confirmResult)

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

醉酒当歌 提交于 2019-12-18 07:41:23
问题 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": "^0.55.3", "react-native-camera": "1.1.2", "react-native-check-box": "^2.1.0", "react-native-extended-stylesheet": "^0.8.1", "react-native-firebase": "^4.2.0", "react-native-geocoder": "^0.5.0", "react-native-git-upgrade": "^0.2.7", "react-native-htmlview": "^0.12.1",

Fresh Detached Expo + RNFirebase not running on Android

一笑奈何 提交于 2019-12-17 20:26:33
问题 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-firebase/ to set up ios, and it runs fine followed all the instructions to set up on android, went through some dependency hell between the expo dependencies and firebase dependencies And now there are no more warnings, and no more errors, but when i try to run the app (either emulator or physical), it

react-native-firebase unable to handle notification click_action to navigate to notification screen

瘦欲@ 提交于 2019-12-13 16:50:24
问题 i'm using this react-native-firebase and react-navigation for navigating and i can push notification from server or console successfully whether its in foreground or background but i swear the documentation is not pretty clear how to open notification and navigate to the notification screen it belongs to. these are my onMessage codes. firebase.messaging().onMessage((payload) => { if(!payload.opened_from_tray){ firebase.messaging().createLocalNotification({ title: payload.title, body: payload