aws-amplify / aws-amplify/amplify-ui-android

[Authenticator] Improve code entry UX

Open
#215 1 comment 1 reaction 0 assignees View on GitHub
authenticator feature-request
Dominant language
Kotlin
Stars
25
Forks
18
Avg merge
7d 3h
Merged PRs (30d)
1

Description

### Before opening, please confirm:

- [x] I have [searched for duplicate or closed issues](https://github.com/aws-amplify/amplify-ui-android/issues?q=is%3Aissue+).

### Which UI component is this feature-request for?

Authenticator

### Please include any relevant guides or documentation you're referencing

_No response_

### Please describe your feature-request in detail.

Authenticator currently uses a plain text box for collecting confirmation codes, such as if a user has SMS MFA enabled, or for collecting email validations post-signup.

This works fine but it isn't very nice looking. Most code collection UIs use discrete boxes to collect the code, similar to the following image:

![Image](https://github.com/user-attachments/assets/243afb9a-ba0d-48ca-b0b6-606f19904759)

This feature request proposes introducing a new type of input `FieldConfig.Code` specifically for collecting validation codes that will implement a UI similar to to the above.

### Initialization steps (if applicable)

_No response_

### Code Snippet

```java
// Put your code below this line.

```

### amplifyconfiguration.json

_No response_

### Additional information and screenshots

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reading the Authenticator component and its FieldConfig API, focusing on how confirmation and validation codes are currently collected. The issue's requested outcome is a new FieldConfig.Code input with discrete code-entry boxes for SMS MFA and post-signup email validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.