Implement Firebase authentication effortlessly. Supports email/password, phone, social logins, and more with a sleek Flutter UI template.
All you need to add Firebase Authentication to your mobile app.
Getting Started
To get started, you need to download the source code or copy source using the Copy
button on top right corner, then follow the steps below:
-
Update your
pubspec.yaml
to include all dependencies inpubspec.yaml.example
. -
For android, check the additional reference files in the
android
folder.
Files to Update
Places where you may start your customization are labeled with // TODO(dev):
comment
Firebase setup
Follow instructions for android and ios
Tips
- DO NOT add ios
GoogleService-Info.plist
to project. - for ios, run on real device to test.
- facing issues with flutterfire? npm install -g firebase-tools.
- when running
flutterfire configure
:- on step
Generated FirebaseOptions file firebase_options.dart already exists, do you want to override it?
chooseYES
.
- on step
- Sign in with email link:
- Activate Dynamic Links in the Firebase Console and agree to the terms and conditions. -Ignore deprecation notice - it doesnt affect email link until updated. Deprecation FAQ