Android hardware back button not working in IdentificationModal
Descrivi il problema Se per qualsiasi ragione si vuole uscire dalla schermata di login, senza fare il login, non c'è la possibilità di farlo senza terminare l'applicazione dall'apposita schermata.
To Reproduce Steps to reproduce the behavior:
- Lancia l'applicazione
- Cerca di uscire: il tasto "back" [ < ] non è attivo.
Expected behavior Che premendo il tasto back [ < ] si esca dall'applicazione. Magari doppio tap, per evitare uscite accidentali.
Versione dell'app Copia i due numeri che appaiono in alto a destra nello schermo dell'app. ^^ Non ci sono due numeri in alto a destra nello schermo dell'app. :-) In fondo al profilo c'è scritto 1.19.0.2
Smartphone
- Device: Samsung Galaxy A50
- OS: Android 10
cc @thisisjp
Non c'e' (piu'?) un tasto "back" sulla schermata di login. Su Android il tasto hardware back e' gestito correttamente.
@drsurfer questa issue e' ancora valida?
@pietro909 si, non è cambiato nulla. Forse c'è un fraintendimento, la schermata a cui facevo riferimento è questa qua sotto. Se non metto il codice di sblocco o uso l'impronta, il tasto "<" è assolutamente privo di efficacia nell'uscire dall'app. L'unico modo è usare il tasto più a sinistra, ed eliminare tutti i task in esecuzione.

Probabilmente causato dall'uso della Modal. Abbiamo svariati esempi nel codice tipo TosBonusComponent che viene incluso in una modal da ActiveBonusScreen.
Ottima issue per first-time contributors.
This issue is stale because it has been open for 60 days with no activity.
Ciao! Vorrei lavorare a questa issue in modo da poter iniziare a familiarizzare con il codice del progetto per poi contribuire più spesso. Il problema è ancora presente?
@drsurfer can you explain me in detail the Issue ?
Steps to Reproduce the Problem on My Phone:
Ensure that the app is configured for biometric (fingerprint) login.
-
Launch the app: The app validates something (four checkmarks appear), followed by the usual popup requesting a fingerprint.
-
Press "annulla" or the system back button "<". The app dismisses the popup and reveals the underlying screen, prompting for the "codice di sblocco" (unlock code).
-
Press the system back button "<" again. No action is observed.
Expected Behavior: I anticipate the app to close. Currently, the only method to exit is by pressing the "overview" button (the one with three stripes, at least on Samsung phones; unsure about others) and then selecting the "Chiudi tutto" (close all) button.
Note: I believe that without biometric login, the behavior remains consistent, directly transitioning to the unlock code screen and staying there until the code is entered.