How to perform firebase authentication that returns a flow in android kotlin
What I currently have:
I have a service class where I perform firebase registration for a
user.
It is working.
What I am trying to do:
I am trying to return a flow
Current code:
class LoginService @Inject constructor(
// This contains the firebase auth reference
val service : FirebaseAuthRepository
) {
private fun registerUser(
firstName:String, lastName:String,
email:String, password:String
) {
// Create an instance and create a register a user with...