06/29/2022, 2:11 PM
Why users still login firebase even they do not register to app in jetpack compose? I have login screen in android jetpack compose, so when I register with e-mail to firebase, I can login to app with below codes, but when I typing random e-mails which I never register, I can login to app, how can I control my login function if I do not have register e-mail, user will never success to login my app? viewmodel: @HiltViewModel class ViewModel @Inject constructor( val db: FirebaseFirestore, val auth: FirebaseAuth, ) : ViewModel() {...