Set activity for Firebase authentication in MVVM
I want to use Firebase to authenticate user via phone in an Android app. The doc says to do this val options = PhoneAuthOptions.newBuilder(auth) .setPhoneNumber(phoneNumber) // Phone number to verify .setTimeout(60L, TimeUnit.SECONDS) // Timeout and unit .setActivity(this) // Activity (for…