Skip to content

realrajapaksha/todoflutterfirebase

Repository files navigation

todoapp with flutter and Firebase Firestore

Simple Flutter todo App with Cloud Firebase Firestore Database, Firebase Auth and Google Sign.

Versions and Dependencies

Flutter 3.0.0 • channel stable
Dart 2.17.0

firebase_core: ^1.17.0
firebase_auth: ^3.3.18
cloud_firestore: ^3.1.15
google_sign_in: ^5.3.1
shared_preferences: ^2.0.15
flutter_signin_button: ^2.0.0
provider: ^6.0.3

Install Firebase cmd

  1. npm install -g firebase-tools
  2. firebase login
  3. dart pub global activate flutterfire_cli
  4. Set flutterfire_cli path
  5. flutterfire configure

Setup Firebase Auth / Google Signin

  1. flutter pub add google_sign_in: ^5.3.1.
  2. android -> edit gradle.properties -> copy existing value of org.gradle.jvmargs and replace it -XX:MaxHeapSize=256m -Xmx256m.
  3. android -> open cmd -> gradlew signingReport.
  4. copy SHA1 Value in Task :app:signingReport.
  5. Go to firebase project -> Authentication -> Sign-in Methods -> Enable Google.
  6. Go to firebase project -> Project settings -> General -> Your apps > select your android app -> add fingerprints -> paste your SHA1 value and save.
  • android -> edit gradle.properties -> paste existing value of org.gradle.jvmargs

Errors and Fixers

stackoverflow Answer for signinReport
Multidex Support
iOS Error running pod install

References

Flutter Documentation
Add Firebase to your Flutter app documentation
Firebase Firestore Documentation
Firebase Auth

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published