https://kotlinlang.org logo
#android
Title
# android
s

Sivan

12/01/2020, 2:24 PM
Hey guys! So when I send a request to resend the OTP after the timeout using FirebasePhoneAuth, I get the exact same OTP again. I'm looking for a way to resend a NEW otp when the user clicks on "Re-send OTP" button. Is this an expected behavior? If yes, is there a work around for this? I feel generating a brand new OTP code each time is more secure.
stackoverflow 3
google 1
u

Umar Ata

12/01/2020, 5:20 PM
OTP is secure until it is not entered Once you received the OTP so you can use autoverify method of android so you don't need to fill it manually
27 Views