Firebase Authentication with Redirect in Swift 3
Daveyon Mayne

This is not the recommended way to check if the user is logged in. Please refer to the Firebase documentation. From their doc: “Note: currentUser might also be nil because the auth object has not finished initializing. If you use a listener to keep track of the user’s sign-in status, you don’t need to handle this case.”

Like what you read? Give Robots With Swag a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.