ASE-Projekte-WS-2021 / ase-ws-21-unser-horsaal

ase-ws-21-unser-horsaal created by GitHub Classroom
2 stars 0 forks source link

Proposal for bug in issue #219 - app crashes if user logs in manually … #225

Closed vairasza closed 2 years ago

vairasza commented 2 years ago

…after verification

removed adding authstatelistener in VerificationFragment related methods in LoginViewModel and AuthAppRepository removed authstatelistener from AuthAppRepository added simple check in AuthAppRepository where FirebaseAuth is reloaded and checked if email is verified now added a toast message in VerificationFragment when email was sent added error messages in VerificationFragment if user makes too many requests merged resendverificationemail and sendverificationemail in LoginViewModel and AuthAppRepository removed resetpassword methods in LoginViewModel and AuthAppRepository because it is in profile related files minor change in verification_fragment.xml to align error text and have less space between first button and text above calling sendverificationemail when user logs in manually

modified: app/src/main/java/com/example/unserhoersaal/Config.java modified: app/src/main/java/com/example/unserhoersaal/repository/AuthAppRepository.java modified: app/src/main/java/com/example/unserhoersaal/viewmodel/LoginViewModel.java modified: app/src/main/java/com/example/unserhoersaal/views/LoginFragment.java modified: app/src/main/java/com/example/unserhoersaal/views/VerificationFragment.java modified: app/src/main/res/layout/fragment_verification.xml