Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timeoutMillis is no longer an optional parameter #130

Open
andreszs opened this issue Oct 6, 2023 · 0 comments
Open

timeoutMillis is no longer an optional parameter #130

andreszs opened this issue Oct 6, 2023 · 0 comments

Comments

@andreszs
Copy link
Contributor

andreszs commented Oct 6, 2023

According to README, the verifyPhoneNumber's timeoutMillis param is:

Maximum allowed value for timeout is 2 minutes. Use 0 to disable SMS-auto-retrieval. If you specify a positive value less than 30 seconds, library will default to 30 seconds.

As of play-services-auth-api-phone:18.0.1, 0 is not a valid value because it will raise this error:

You must specify an auto-retrieval timeout; please call #setTimeout()

Maybe README should be updated to reflect this change in the Authentication API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant