Mohiuddin Opu
Mohiuddin Opu

Reputation: 23

Firebase Phone Auth and Phone number Selector

At Google IO's This session https://youtu.be/MUULwaxqFLI?t=35m36s He says we can get Phone number automatically with Phone number Selector But he showed that with AuthUI On the other hand New Version of Auth Ui is not release yet.

And If i want to implements Auto Phone number selection then what should i do.

Upvotes: 2

Views: 1197

Answers (1)

Isabella Chen
Isabella Chen

Reputation: 2431

  1. FirebaseUI 2.0 is now available with phone number auth support: https://github.com/firebase/FirebaseUI-Android/blob/master/auth/README.md

  2. To use the phone number picker, use HintRequest in below doc and configure:

    new HintRequest.Builder() .setPhoneNumberIdentifierSupported(true) .setEmailAddressIdentifierSupported(false) .build();

https://developers.google.com/identity/smartlock-passwords/android/retrieve-hints

Upvotes: 2

Related Questions