firebase-android-sdk icon indicating copy to clipboard operation
firebase-android-sdk copied to clipboard

Replace java.util.concurrent.TimeUnit with java.time.Duration

Open Jeff11 opened this issue 2 years ago • 1 comments

Please add functions that accept Duration for all public functions that currently only accept TimeUnit

For example: old: PhoneAuthOptions.Builder(Firebase.auth).setTimeout(60, TimeUnit.SECONDS)

new: PhoneAuthOptions.Builder(Firebase.auth).setTimeout(Duration.ofSeconds(60))

Jeff11 avatar Jun 29 '22 11:06 Jeff11

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Jun 29 '22 11:06 google-oss-bot