I am using firebase phone authentication in my flutter application and I want to send new OTP after timeout (say 60 seconds), instead of sending same duplicate OTP again on resend request.
The timeout parameter of _firebaseAuth.verifyPhoneNumber() corresponds to SMS auto-retrieval timeout and not the OTP expiration time. How can I workaround with that?
The
timeoutparameter is for OTP expiration time