Skip to content
  • android
  • Flutter
  • Kotlin
  • Firebase
  • Laravel
Droidmonk
Learn Android with Java and Kotlin
 
  • android
  • Flutter
  • Kotlin
  • Firebase
  • Laravel
Home Archive for category "Firebase"

Category: Firebase

Firebase, Flutter

Display list of items from Cloud Firestore(Firebase)

Create a new dart file in lib : recipes.dart Create a stateless widget inside the above file class Recipes extends StatelessWidget {} Return a Scaffold with an AppBar from the build function Add a StreamBuilder to the body of the Scaffold StreamBuilder(stream: ,builder: (context,snapshot){} ) Provide the reference of the …

Continue reading"Display list of items from Cloud Firestore(Firebase)"
Firebase, Flutter

Setup Firebase with a Flutter app

Add Firebase to your Flutter app Create a Firebase project Register your app with Firebase Create a Firebase android app inside the Firebase project Add apps’s package name Add app nickname Add SHA-1 fingerprint ( cd android && ./gradlew signingReport ) Add a Firebase configuration file Download the google_services.json file …

Continue reading"Setup Firebase with a Flutter app"
Basics, Firebase, Login

Firebase Authentication with Google Sign in

1. Create a new android project 2. Set up Firebase Authentication for android 3. Check if the user is already logged in -Create instances of FirebaseAuth and FirebaseAuth.AuthStateListener (e.g. mAuth and mAuthStateListener repectively) -Add the mAuthStateListener to the mAuth object inside onStart() -Remove the auth state listener inside onStop() 4. …

Continue reading"Firebase Authentication with Google Sign in"




Recent Posts

  • Middleware to verify ownership
  • Password reset
  • Email Verification
  • Delete a product ad
  • Edit a product ad

Categories

  • android
  • Basics
  • Firebase
  • Flutter
  • jetpack
  • Kotlin
  • Laravel
  • Login
  • Uncategorized
Back to Top
©droidmonk.com
Powered by Fluida & WordPress.