chemerisuk / cordova-plugin-firebase-authentication

Cordova plugin for Firebase Authentication
MIT License
98 stars 60 forks source link

timeoutMillis is no longer an optional parameter #130

Open andreszs opened 1 year ago

andreszs commented 1 year ago

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.