A Flutter boilerplate app incorporating riverpod state management and firebase functionality
- Add your google_services.json file in the android/app directory
- Delete the .gitignore file in the android/app directory
- Go to the android/app/build.gradle file and change the
applicationId
field to your unique Android Application Id - Re-create the flutter app within the root directory
flutter create .
- Go to the Firebase Console and enable Google Authentication, and Cloud Firestore
- Go to the Firebase Console and add a new Android App
- When creating the app in console, it will ask you for an optional SHA-1 certificate.
- This app uses Google Sign In, so it requires an SHA-1 certifiate
- Generate an SHA-1 certificate for Google Sign In with
cd android gradlew signingReport
- Scroll to the bottom of the output and copy paste the SHA-1 certificate under the
debugAndroidTest
variant
- Get all dependencies for the app with
flutter pub get
- Run the flutter app with flutter run
flutter run
Authentication
- Google Sign In
- Email and Password
Cloud Firestore
- Adding users to users collection
- Getting and displaying logged in user data from users collection
- Getting and displaying list of users
Riverpod
- State management with Riverpod library
- Able to access state from anywhere in Flutter application
Authentication
- Other authentication methods such as Twitter, Github, etc.
Cloud Storage
- Upload multimedia files
This project is a starting point for a Flutter application with Riverpod and Firebase.
A few resources to get you started if this is your first Flutter project:
- Lab: Write your first Flutter app
- Cookbook: Useful Flutter samples
- FlutterFire Documentation
- Riverpod Documentation
For help getting started with Flutter, view its online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.