Dynamic Login with Firebase
In this section, we'll conclude our exploration into Firebase Authentication. If you've been running the app several times, you know that every time the app loads, we are always taken to the Login Screen. Even if the user is signed in, this is the case, so users end up always signing back in. What we want to do is check if a user is signed in or not. If a user is signed in, we'll automatically start the app at the Home Screen. Otherwise, we'll be taken to the Login Screen.