Android Question Firebase facebook login

yiankos1

Well-Known Member
Licensed User
Longtime User
I get this on log when i attemp to login firebase through facebook.
B4X:
** Service (newinst2) Start **
---- AppUpdating.newinst2: service_started
** Service (newinst2) Start **
---- AppUpdating.newinst2: service_started
Copying updated assets files (5)
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (OnActivityResult)
running waiting messages (1)
Facebook - ResultArrived: Intent { (has extras) }
Facebook success: com.facebook.login.LoginResult@205286b3
** Activity (main) Resume **
Here is another thread with same problem, but did not posted the solution.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Have you enabled and configured Facebook in Firebase dashboard:

SS-2017-11-05_09.26.57.png


?
 
Upvote 0

yiankos1

Well-Known Member
Licensed User
Longtime User
** Activity (main) Pause, UserClosed = true **
** Activity (main) Create, isFirst = false **
** Activity (main) Resume **
Facebook - SignIn
** Activity (main) Pause, UserClosed = false **
sending message to waiting queue (OnActivityResult)
running waiting messages (1)
Facebook - ResultArrived: Intent { (has extras) }
Facebook success: com.facebook.login.LoginResult@2f857d73
signInWithCredential start
** Activity (main) Resume **
signInWithCredential complete: false

Thank you Erel for your time. Do you need the unfiltered maybe?
 
Upvote 0

yiankos1

Well-Known Member
Licensed User
Longtime User
hahahah you will not believe it....
B4X:
error: com.google.firebase.auth.FirebaseAuthUserCollisionException: An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.
i had loged in google plus and mail/password and there was an account with this email. By the way i think version with this bug reporting system is much much better. Thank you for your time.
 
Upvote 0
Top