Replies: 1 comment
-
Any comments on this please? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Documentation says,
By default, Firebase will not re-send a new SMS message if it has been recently sent. You can however override this behavior by re-calling the verifyPhoneNumber method with the resend token to the forceResendingToken argument. If successful, the SMS message will be resent.
It seems the above only applies to Android as due to below, So question is, what is the best way to implement resend otp code functionality in iOS without using resendToken?
When Firebase sends an SMS code to the device, this handler is triggered with a verificationId and resendToken (A resendToken is only supported on Android devices, iOS devices will always return a null value).
Ref: https://firebase.flutter.dev/docs/auth/phone
Beta Was this translation helpful? Give feedback.
All reactions