Skip to content

How to have prefilled phone number from shared pref. in PhoneVerificationActivity? #887

@pinkeshdarji

Description

@pinkeshdarji

Hi, I need to automatically fill phone number from shared pref. to firebase phone ui auth activity.
Is there any way that If I modify this
startActivityForResult(
AuthUI.getInstance().createSignInIntentBuilder().setAvailableProviders(
Arrays.asList(new AuthUI.IdpConfig.Builder(AuthUI.PHONE_VERIFICATION_PROVIDER).build()))
.build(), RC_SIGN_IN);

in such a way that, when verify phone activity gets open, instead of asking for a phone number I should have it from shared pref and user can continue instead of giving phone number again which we have already stored while registration.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions