I get sms code when entered I get this error in the log.
/SmartLockViewModel: Non-resolvable exception: com.google.android.gms.common.api.ApiException: 8:
E/AuthUI: A sign-in error occurred.
com.firebase.ui.auth.FirebaseUiException: Error when saving credential.
at com.firebase.ui.auth.viewmodel.smartlock.SmartLockHandler$1.onComplete(SmartLockHandler.java:99)
at com.google.android.gms.tasks.zzi.run(com.google.android.gms:play-services-tasks@@18.0.1:1)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:246)
CodePudding user response:
please check the link below it help me out to solve the same problem this answre and this is the the link of documentation of google maybe you miss to add some figuration google firebase documentation
or you can maybe just share the code section to figure out what is going wrong