firebase-authentication

FirebaseUI Authentication with Facebook not logging in

淺唱寂寞╮ 提交于 2019-12-10 10:15:24
问题 I'm using FirebaseUI Auth in Android for user authentication. Dependencies in my app build.gradle for Facebook Login: compile 'com.google.firebase:firebase-auth:11.0.0' compile 'com.firebaseui:firebase-ui-auth:2.0.0' compile 'com.facebook.android:facebook-android-sdk:[4,5)' Classpath dependencies in my project build.gradle: classpath 'com.google.gms:google-services:3.1.0' My FirebaseUI Authentication Code in my Activity onCreate(): final AuthUI.IdpConfig facebookIdp = new AuthUI.IdpConfig

Flutter Firebase.signInWithGoogle method not found

≡放荡痞女 提交于 2019-12-10 09:46:01
问题 I am trying to add Google Authentication in my Flutter Application. But my Android studio is not able to find the method signInWithGoogle under FirebaseAuth class. I mean to say when I write FirebaseAuth. signInWithGoogle Android studio complains saying The method signInWithGoogle isn't defined for the class Firebase . I already have the have Firebase.signInWithEmailAndPassword and it is working fine. I have below dependency in pubspec.yaml firebase_auth: ^0.8.0+1 Below are my imports in the

Firebase Auth crashing on API 15 and 16 with NullPointerException from call to FirebaseAuth.signInAnonymously()

穿精又带淫゛_ 提交于 2019-12-10 06:17:19
问题 Per the Firebase support page, I'm posting here before filing an official bug. Hopefully somebody from the Firebase team can help. My Android App uses Firebase anonymous authentication. I've been doing some testing on older Android versions using the emulator and consistently get the following exception on API 15 and 16 (so far...still more testing to do): Caused by: java.lang.NullPointerException at com.google.android.gms.internal.zzdtp.zzb(Unknown Source) at com.google.android.gms.internal

Firebase create user without sign in [duplicate]

谁都会走 提交于 2019-12-10 03:34:30
问题 This question already has answers here : Firebase kicks out current user (13 answers) Closed 2 years ago . I wish to create a new user account from my application when logged in as a "admin user", The issue is i just want to create it not actually sign in. is it possible to disable the automatic sign in when creating a new user with the email / password. I see others have asked this question in relation to JS and swift but can not seem to find any android specific related info. i'm trying to

Firebase verification email template editing

徘徊边缘 提交于 2019-12-10 02:56:15
问题 Are there or will be any way to edit the verification email template or put in different languages, not only English. The user experience is horrible for non-english users. Please, could you share the roadmap of this feature. Thanks, Tomás 回答1: Before sending firebase email you can set the language of a template. You can edit templates in different languages in firebase console (Template in English you can edit the only subject) firebase.auth().languageCode = 'ua'; firebase.auth().currentUser

Android Firebase phone authentication INVALID_APP_CREDENTIAL:App validation failed

心已入冬 提交于 2019-12-10 02:23:08
问题 I am really new to android firebase and I have implemented the necessary libraries for Firebase Auth. I try putting a valid number, but the log says its: W/JEJE: onVerificationFailed com.google.firebase.FirebaseException: An internal error has occurred. [ INVALID_APP_CREDENTIAL:App validation failed ] at com.google.android.gms.internal.nf.zzK(Unknown Source) at com.google.android.gms.internal.og.zza(Unknown Source) at com.google.android.gms.internal.oh.run(Unknown Source) at android.os

onAuthStateChanged inconsistent

二次信任 提交于 2019-12-10 02:19:19
问题 When a user comes to my site, I use onAuthStateChanged to determine if the user is already signed-in from a previous session or not. Main issue is that it has been inconsistent for a small % of users - code seems to not be detecting that they do have a valid signed-in session going on. The following code is on the app itself, users are on that page after a redirect from the homepage or login page. The homepage of the site also uses onAuthStateChanged to determine if the user should be

Invalid API Key supplied using Firebase

杀马特。学长 韩版系。学妹 提交于 2019-12-10 01:45:43
问题 I'm using Firebase Auth to allow users to sign up using Facebook. I have taken all the steps from here to implement sign up including adding GoogleService-Info.plist to my project. I get the Facebook permission screen all fine but when the app hits FIRAuth.auth()?.signInWithCredential(credential) { (user, error) in this error is returned: An invalid API Key was supplied in the request. Can anyone help me with this please? Thanks Here is my function code to log in using Facebook. @IBAction

Change user with Firebase Google user authentication

北慕城南 提交于 2019-12-10 01:43:58
问题 When using Firebase Google user authentication the user is immediately logged in if they have already authorized the application and only logged in to one Google account. Is there a way to force the "Choose an account" dialog to appear so that the user has the opportunity to login to a different Google account or create a new one? Currency as far as I know the user has to manually logout of the current Google account (or login to > 1) from Google.com to make the dialog appear. 回答1: You can

FCM Token Issue in some android device

烂漫一生 提交于 2019-12-10 01:40:13
问题 FCM Expert Please Help me out,I have to integrate notification for the android using FCM, I am trying the demo given by Firebase, I tried many logic but it's giving first token for the some devices: I used three device, Moto E (2nd Gen)(android version 5.1.1), Samsung GT-S7562(A.V 4.1.2) and Karbon Titanium (A.V 4.2.2), I am receiving the token only for Karbon Titanium ,don't know why I am not receiving the token for Moto E(2 Gen)and Samsung GT-S7562 but receiving the token from karbon