🔥 An example Flutter app for firebase login and authentication
When attempting to set up authentication with firebase in flutter I found a plethora of decent examples, but many were ugly, outdated, or overcomplicated, so I put together a one-page solution that looks somewhat decent based on the FlutterFire Auth Example
Create a Firebase account if you do not have one. Registering your application and download the google-services.json
file to your project in the android/app
directory
Make sure the following packages are in your pubspec.yaml:
Enable at least one 'sign-in method' under the authentication tab. firelogin uses email/password, Google, and Github authentication.
To use Google authentication, you need to register a support email and debug SHA certificate fingerprint.
Use the following command in a terminal to generate a debug certificate fingerprint. More details can be found here
keytool -list -v -alias androiddebugkey -keystore %USERPROFILE%\.android\debug.keystore
Default password is android