Posts

Showing posts with the label Firebase

Flutter Firebase Auth Email and Google Signin With Lastest Oct 2020 Update

Image
Update: Nov 11, 2020 Added phone_login.dart for phone number authentication.     Update: Nov 2, 2020 1. Added "forgot password" to email_login.dart 2. Added forgot_password.dart   Update: Nov 1, 2020 1. Added "await" in email_singup.dart 2. Added "isLoading = false;" in email_login.dart   As of Oct 7 2020, Firebase Auth for Flutter has the new version 0.18.1+2. This Flutter Auth demo with Email and Google Sign-in is just a new update to show you how to work with the newest Firebase Auth version. Most of the codes here are obtained from Peter Haddad 's article How To Use Firebase Authentication In Flutter. Many thanks to Peter Haddad .   1. Create a new Flutter project.  Open Android Studio. And create a new Flutter project named "fire_auth_demo". Then go to android/app/build.gradle. Look for "applicationId". That's your Android package name. My package name is "com.haoc.fire_auth_demo". Yours might be different. We nee...