flutterfire samples
this repo is created to contain various sample apps demonstrating the integration of firebase with flutter. the final goal is to create something like the flutter gallery app, but for firebase.
also, the recently changes introduced in flutter 2 create some confusion, mostly with the beginners, as many other repositories are not yet updated to the latest version. even flutterfire plugins got a lot of improvements and most of them support null safety now.
contents
the aim of this repo is to include examples for:
- [ ] authentication
- [x] email & password registration & login
- [x] login using various providers (google, github, apple, etc.)*
- [ ] phone otp verification
- [ ] database
- [x] crud operations on firebase cloud firestore
- [ ] storing & retrieving images/videos/files to/fro cloud storage
- [ ] using realtime database
- [ ] backend actions
- [ ] cloud functions
- [ ] user presence tracking
- [ ] push notifications using firebase cloud messaging (fcm)
- [ ] machine learning
- [ ] test recognition
- [ ] face detection
- [ ] image recognition (more might be added here)
- [ ] other utilities
- [ ] analytics/crashlytics
- [ ] remote config
- [ ] a/b testing
- [ ] in-app messaging
- [ ] dynamic linking
- [ ] firebase extensions (beta)
*only google sign-in implemented currently.
current master
branch description
this is a sample app demonstrating firebase authentication in flutter using email & password. also shows how to send email verification and set up auto login.
note: this sample app uses the latest flutter 2.0 stable release, with null safety enabled. make sure you are using flutter 2 in order to prevent any build errors. tested on android, ios & web.
app in action :rocket: :
plugins
for this project you have to add two plugins:
- firebase_core: required for initializing firebase and using any other firebase plugins.
- firebase_auth: for using firebase authentication service in flutter.
the latest version of both these plugins support null safety.
usage
if you want to try out the this sample app, first you have to create and configure a firebase project:
- download the project:
https://github.com/sbis04/flutterfire-samples.git
- create a new firebase project from the console.
- configure the firebase for each platform.
- run the app using the command:
cd flutterfire-samples flutter run
Comments are closed.