如何将Google Auth用户转换为Phone Auth Firebase Android?

如何将Google Auth用户转换为Phone Auth Firebase Android?,android,firebase,firebase-authentication,Android,Firebase,Firebase Authentication,在我的Android应用程序中,我使用Firebase使用Google电子邮件身份验证。现在我想用电话认证。是否可以将使用Google mail登录的旧用户转换为phone auth verified用户?这是我使用GoogleAuth的代码- private void createAccount() { // Choose authentication providers List<AuthUI.IdpConfig> providers = Collections

在我的Android应用程序中,我使用Firebase使用Google电子邮件身份验证。现在我想用电话认证。是否可以将使用Google mail登录的旧用户转换为phone auth verified用户?这是我使用GoogleAuth的代码-

private void createAccount() {

    // Choose authentication providers
    List<AuthUI.IdpConfig> providers = Collections.singletonList( new 

AuthUI.IdpConfig.GoogleBuilder().build() );

        // Create and launch sign-in intent
        startActivityForResult( AuthUI.getInstance().createSignInIntentBuilder().setIsSmartLockEnabled(false).setAvailableProviders(providers).build(), RC_SIGN_IN);

        showProgress();
        alertDialog.show();

    }
implementation 'com.firebaseui:firebase-ui-auth:6.0.2'