skip to Main Content

in development the authentication works as expected. In production, however, i receive this error:

Initial task failed for action RecaptchaAction(action=custom_signInWithPassword)with exception – An internal error has occurred. [ Instantiation of JsonResponse failed! class com.google.android.gms.internal.firebase-auth-api.j0 ]

Can someone please help me fix this issue?

2

Answers


  1. Chosen as BEST ANSWER

    The issue is:

    minifyEnabled true

    Thus, the workaround is to set the value to false and authentication works as expected ...


  2. As I know on release build it use progarud you must use @Keep in most class that related firebase

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