Closed
Description
Step 1: Are you in the right place?
I believe so. Also, this problem seems to be a regression as it was already described and resolved in 1658
Step 2: Describe your environment
- Android device: Pixel_3a_API_30_x86
- Android OS version: 11
- Google Play Services version: 19.0.0
- Firebase/Play Services SDK version: 20.0.0
- FirebaseUI version: 7.1.1
Step 3: Describe the problem:
When using custom layout and email link sign in the email button is not shown.
Steps to reproduce:
- Pull latest version of firebase-ui
- Create new firebase project with google sign in provider and email link provider
- Download google-services.json and put it in app directory
- Run the application and select AuthUI demo with layout radio button set to custom and providers set to Google and Email link
Observed Results:
The Email sign in button (textView) is not shown
Expected Results:
I expected the email button to be shown
Relevant Code:
No code changes necessary.
Possible fix
Adding a new method setEmailLinkButtonId in AuthMethodPickerLayout and removing the method providerOrEmailLinkProvider as well as the one reference to it.
This is the solution I used to fix it locally so that I can use it on a project.