Add Firebase Authentication
Check if Authentication is enabled on firebase

Add package firebase_auth to pubspec.yaml
firebase_auth: ^4.17.5Modify main.dart , we are checking if the current user is null
Login and registration of the user is done with login_screen.dart
create a member variable _LoginScreenState
search for GestureDetector of the login button
Test, login and registration => testuser@flutterdevcamp.com -> it will navigate to Home screen
! If you get an error.
[!] Automatically assigning platform `iOS` with version `9.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See
[https://guides.cocoapods.org/syntax/podfile.html#platform] Error running pod install
run
If stuck switch to this branch.
To Wrap it up lets add a forgot password functionality
Logout
sidebar_screen.dart -> Look for Log out , add a GestureDetector
Last updated