Android Question Firebase Facebook not working properly

sktanmoy

Active Member
Licensed User
Longtime User
I tried to Integrate Google & Facebook Login into my app using Firebase Library. Unfortunately, Facebook isn't working as expected. I'm getting Facebook Login Window, successfully being back to the Login Activity but not getting any response from the sub bellow

B4X:
Sub Auth_SignedIn (User As FirebaseUser)
    Log("Triggered")
    Log(auth.CurrentUser.DisplayName)
    Log(User.DisplayName)
    Name = User.DisplayName
    Email = User.Email
    LoggedIn = True
    StartActivity("Dashboard")
End Sub

I'm not getting any error message. Getting the line below in log window

**Facebook success: com.facebook.login.LoginResult@c9e1d14**

Can you guys help me at this point?

PS: Google Login is working perfectly.
 

sktanmoy

Active Member
Licensed User
Longtime User
After wasting a few days, I discovered that if a Google email login first using Firebaseauth, facebook with the same email won't work. I deleted the google user from firebase console and tried facebook and that worked perfectly.
 
Upvote 0
Top