skip to Main Content

I have a react native app and try to get my firebase authentication to run. Web and iOS everything works fine, but in android i get get a Developer_Error. It’s not telling me anything more, just Developer_error… very helpful.

I had to delete my first Android App with SHA1 and 256 Key in firebase and created a new one (with the same keys… didn’t find a way to generate new ones in android/google), maybe this is part of the problem… i don’t know.
the SHA1 and 256 Key is correct, the bundle id is correct. What am I missing?

Hope you can help me.
Merry Christmas to everyone, and thanks for your help.

Greetings
Simon

2

Answers


  1. Please make sure your sha keys are correctly configured in google cloud console. Refer these urls below.

    firebase-statuscode-developer-error

    google-signin/issues/1192

    Login or Signup to reply.
  2. GoogleSignin.configure({
       webClientId:''
     });
    

    Make sure you have a valid WebclientId.

    For this you need to goto:

    1)Firebase Console first.

    2)Navigate to Authentication.

    3)Press on Sign-in method.

    4)Look for sign-in provider make sure you have enabled the google Signin(if not enabled it).

    5)Press on google swipe down you will see Web Sdk configuration press on it thats your Web Client ID.

    6)Make Sure you have SHA-1 fingerprint pasted in you your android App bundle inside project settings.

    7)if not then configure your SHA-1 fingerprint(https://developers.google.com/android/guides/client-auth) go to project-overview section look for your android app press on it paste it there in the SHA-1 SECTION.

    8)after configuring your SHA-1 fingerprint update your google-services.Json

    9)go to your root folder then cd/android

    10)type
    ./gradlew clean

    11)build your app again it takes 4 to 24 hours for firebase after SHA-1 configuration so be patient.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search