Skip to content
0:00 / 0:00

#flutter#firebase#firebase-auth

Streaming Firebase Auth with Provider

Tadas Petra

32K subscribers • 14 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Linked in the descriptiontadaspetra/provider_examples
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

5.3K views6 years ago2 recommendations

Mobile developmentCloud and DevOpsFlutter and React NativeMobile app architecture

Tadas Petra demonstrates how to use Dart streams with Firebase Auth and the Provider package to manage authentication state in Flutter.

Streaming Firebase Auth with Provider I've mostly only worked with getting data from firebase using the get feature. That only retrieves it once, and while that is useful in a lot of scenarios, like getting a configuration or something, streams are the way to go in a lot of other scenarios. We go over how to use streams with Firebase Auth to keep your app up to date no matter what. It is also a lot cleaner then the initial solution I have been using for the Book Club app, and other apps as well. I will definitely be updating those to use streams! Link to the Code: github.com/tadaspetra/provider_examples/tree/master/002_fire… Make sure to Like and Share! And pls subscribe: shorturl.at/dsIO9 Thanks For Watching! Laptop I use for drawing, recording, and editing: Lenovo Thinkpad X1 Yoga: amzn.to/2RqFB8U Super cheap, quality mouse. And batteries last forever: VicTsing: amzn.to/2UWUimf Docking station to keep everything organized: Dell: amzn.to/3ea0sao Also my favorite book ever, just so more people can read it :) Brave New World by Aldous Huxley: amzn.to/3c7o91c #flutter #firebaseauthstream #googlestream

Why it's here

2 people recommend this

What people say. Recommended as a clean approach to handling Firebase authentication state in Flutter apps.

u/craetornetworkin r/FlutterDev • Recommends

Streaming Firebase Auth

u/craetornetworkin r/FlutterDev • Recommends

Firebase Auth Stream

u/OT_Centralin r/FlutterDev • Recommends

Streaming Firebase Auth with Provider