Skip to content
This repository has been archived by the owner on Oct 16, 2022. It is now read-only.

xsalazar/flutter-firebase-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using Firebase Authentication in Flutter

A Flutter project meant to demonstrate simple usage outline for Firebase.

Getting Started

Reference the following packages in your pubspec.yaml:

Ensure you have a Firebase account as well as a project for this example. Go through the process of registering your application as well as downloading the .json file to your project.

Firebase Settings

Under the authentication tab, enable at least one 'sign-in method'. This example uses both Google and email/password authentication.

In order to use Google authentication, ensure you have both a support email defined and debug SHA certificate fingerprints registered. These can both be set in the project settings.

Generating Debug SHA certificate fingerprints

Through a terminal follow the instructions here to retrieve the debug certificate fingerprints.

$ keytool -list -v -alias androiddebugkey -keystore ~\.android\debug.keystore

Note the default password is: android

Example

Home Screen

Google Authentication

Logged in Screen

Email Account Creation/Authentication

Firebase Console

References

Code snippets taken from the included packages example docs

About

Template Android application written in Dart/Flutter utilizing Firebase for user authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published