diff --git a/firebase-auth/src/androidMain/kotlin/dev/gitlive/firebase/auth/credentials.kt b/firebase-auth/src/androidMain/kotlin/dev/gitlive/firebase/auth/credentials.kt index d45066c3f..fa05f1c13 100644 --- a/firebase-auth/src/androidMain/kotlin/dev/gitlive/firebase/auth/credentials.kt +++ b/firebase-auth/src/androidMain/kotlin/dev/gitlive/firebase/auth/credentials.kt @@ -91,9 +91,6 @@ actual class PhoneAuthProvider(val android: com.google.firebase.auth.PhoneAuthPr override fun onCodeSent(verificationId: String, forceResending: PhoneAuthProvider.ForceResendingToken) { verificationProvider.codeSent { android.verifyPhoneNumber(phoneNumber, verificationProvider.timeout, verificationProvider.unit, verificationProvider.activity, this, forceResending) } - } - - override fun onCodeAutoRetrievalTimeOut(verificationId: String) { launch { val code = verificationProvider.getVerificationCode() try { @@ -104,6 +101,9 @@ actual class PhoneAuthProvider(val android: com.google.firebase.auth.PhoneAuthPr } } + override fun onCodeAutoRetrievalTimeOut(verificationId: String) { + } + override fun onVerificationCompleted(credential: com.google.firebase.auth.PhoneAuthCredential) { response.complete(Result.success(AuthCredential(credential))) }