Start Here!
Using Firebase Authentication with AFib
afib_bootstrap
's app-starter-signin-firebase
project style integrates AFib signin and connect it to Firebase Authentication. If you intend to use FirebaseAuth, I strongly recommend you start with that project style.
Using Firebase Firestore with AFib
AFib provides an afib_firebase_firestore library, which extends your xxx_afib.dart
command line app to include an affs:generate
subcommand. That subcommand makes it easy to generate Firestore queries.
Note that the app-starter-signin-firebase
project style above integrates afib_firebase_firestore
for you.
Integrating afib_firebase_firestore manually
In order to integrate the command manually, you should first add afib_firebase_firestore to your existing afib project:
Then, run the AFib Integrate command to integrate it into your AFib project:
Having done so, if you run the command
You will see instructions for generating a variety of Firestore-related queries.