firebase-android-sdk
firebase-android-sdk copied to clipboard
Replace java.util.concurrent.TimeUnit with java.time.Duration
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))
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.