feat: add card PIN management and card renewal to child wallet

- Add set PIN / change PIN multi-step flow (4-digit card PIN + 6-digit SCA PIN) with Treezor PCI DSS SCA proof generation
  - Add unblock PIN for blocked cards after failed attempts
  - Add renew card with SCA proof (same as wallet creation)
  - Show menu options conditionally based on hasCardPin and isPinBlocked flags
  - Make ScaPinView configurable with pinLength parameter (default 6)
  - Add hasCardPin to ChildProfileEntity and isPinBlocked to WalletCardEntity
  - Add EN/ES localizations for all new screens and messages
This commit is contained in:
2026-03-24 13:42:09 +01:00
parent a07e9c23ca
commit 47c7821b0c
36 changed files with 1554 additions and 114 deletions

View File

@@ -402,6 +402,18 @@ void configureAppRouter() {
pageBuilder:
const EditChildProfileBuilder().buildPage,
),
GoRoute(
path: 'set-pin',
name: 'home_set_card_pin',
pageBuilder:
const SetCardPinBuilder().buildPage,
),
GoRoute(
path: 'change-pin',
name: 'home_change_card_pin',
pageBuilder:
const ChangeCardPinBuilder().buildPage,
),
],
),
],