Android Question Firebase facebook login

Discussion in 'Android Questions' started by yiankos1, Nov 2, 2017.

  1. yiankos1

    yiankos1 Active Member Licensed User

    I get this on log when i attemp to login firebase through facebook.
    Code:
    ** 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.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Have you initialized a FirebaseAuth object?
     
  3. yiankos1

    yiankos1 Active Member Licensed User

    Yes. I just use example's project and i changed app id etc... i can attach you an example if you want to try it
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Can you post the unfiltered logs?
     
  5. yiankos1

    yiankos1 Active Member Licensed User

    Here it is
     

    Attached Files:

    • log.txt
      File size:
      470.8 KB
      Views:
      274
  6. Erel

    Erel Administrator Staff Member Licensed User

    Have you enabled and configured Facebook in Firebase dashboard:

    [​IMG]

    ?
     
  7. yiankos1

    yiankos1 Active Member Licensed User

  8. Erel

    Erel Administrator Staff Member Licensed User

    I've sent you two jars that you should update. They include additional logging information. Copy them to the additional libraries folder, clean the project (Ctrl + P) and run it.
     
    yiankos1 likes this.
  9. yiankos1

    yiankos1 Active Member Licensed User

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

    Erel Administrator Staff Member Licensed User

    Try the attached jar. It should print the exception description (if there is one).
     

    Attached Files:

    yiankos1 likes this.
  11. yiankos1

    yiankos1 Active Member Licensed User

    hahahah you will not believe it....
    Code:
    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.
     
    Multiverse app and Erel like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice