Back button is missing from top action bar during firebase authentication

I am using the built-in firebase authentication. the only thing I want to do is add the back button to the top action bar. But I don't know-how.

    List<AuthUI.IdpConfig> providers = Arrays.asList(
            new AuthUI.IdpConfig.EmailBuilder().build(),
            new AuthUI.IdpConfig.PhoneBuilder().build(),
            new AuthUI.IdpConfig.GoogleBuilder().build());

    Intent intent = AuthUI.getInstance()
            .createSignInIntentBuilder()
            .setAvailableProviders(providers)
            .setIsSmartLockEnabled(false)
            .build();

    startActivityForResult(intent, RC_SIGN_IN);


Read more here: https://stackoverflow.com/questions/64950235/back-button-is-missing-from-top-action-bar-during-firebase-authentication

Content Attribution

This content was originally published by onStackOverflowListener at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: