Skip to content
Snippets Groups Projects
Unverified Commit 8577f8d4 authored by Thomas Klingbeil's avatar Thomas Klingbeil Committed by GitHub
Browse files

Extend teleTAN to 10 characters + input validation (#252)


* Change teleTAN from 7 to 10 characters

# Conflicts:
#	Corona-Warn-App/src/main/res/values/dimens.xml

* adjust TAN input to updated design

# Conflicts:
#	Corona-Warn-App/src/main/res/values/dimens.xml

* move TAN to upper case centrally

* styling of filled/empty TAN input spaces

* replace gradient at TAN entry with solid shape

* fix TAN input dash style

* add teleTAN input validation

* ensure valid characters are entered
* block further input if character is invalid
* mark invalid characters accordingly
* show error message if character is invalid
* calculate checksum
* show error and prevent the user from clicking „next“ if checksum is invalid

* code formatting

* Add include to TAN fragment

* Update teleTAN entry info text

* remove code smells

* Change detection of valid characters in TAN to whitelist

* add tests for TanHelper

* add tests for SubmissionTanViewModel

Co-authored-by: default avatarJakob Möller <jakob.moeller@sap.com>
parent c3e7a456
No related branches found
No related tags found
No related merge requests found
Showing
with 364 additions and 22 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment