Fireship · @fireship
Flutter Firebase Setup for Power Users
Uploaded August 11, 2020 · Length 12:59
Summary
Setup Flutter Firebase for mobile app development, covering ios and android setup, analytics, crashlytics, and performance.
- flutter firebase setup
- flutter ios setup
- flutter android setup
- firebase analytics
- firebase crashlytics
- flutter performance
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
perfect tech stacks are rare in an
- 0:01
imperfect world but i think the flutter
- 0:03
firebase stack is about as close as you
- 0:05
can get
- 0:05
today's tutorial is a setup guide for
- 0:07
developers building a serious mobile app
- 0:09
flutter and firebase you'll learn the
- 0:11
basic setup steps for ios and android
- 0:13
how to set up a local development
- 0:14
environment using the new firebase
- 0:16
emulator suite then we'll implement
- 0:17
analytics to understand our users
- 0:19
crashlytics and performance to improve
- 0:21
the quality of our app
- 0:22
and finally we'll look at app
- 0:24
distribution to test our builds before
- 0:26
they get in the hands of actual users on
- 0:28
the app stores
- 0:28
by the end of this video you should have
- 0:30
a solid foundation for building pretty
- 0:32
much anything you can imagine with the
- 0:33
flutter fire stack well if anyone wants
- 0:35
to develop an app with me i'm down
- 0:37
we'll be starting this video with the
- 0:38
basic setup but if you want to jump
- 0:39
ahead to the fun stuff
- 0:40
check out the time stamps in the video
- 0:41
description as you can see here in vs
- 0:43
code i have a freshly generated flutter
- 0:45
app if you're not sure how to get to
- 0:46
this point
- 0:47
check out the official install
- 0:48
instructions for flutter from there
- 0:50
we'll open up the pub spec yaml file and
- 0:52
go to the dependencies section
- 0:53
firebase maintains a variety of
- 0:55
different plugins for flutter
- 0:56
the only one that's actually required is
- 0:58
firebase core everything else you can
- 1:00
just pick and choose as needed
- 1:02
most apps will use firestore as well as
- 1:04
firebase auth
- 1:05
and i'm also including the google
- 1:06
sign-in plugin to support that sign in
- 1:08
method
- 1:09
from there we have analytics and we'll
- 1:10
also throw in performance and
- 1:12
crashlytics
- 1:13
i'll explain what all these do in more
- 1:14
detail throughout the video in this demo
- 1:17
you'll notice i'm leaving the version
- 1:18
numbers empty
- 1:19
however it would be a good idea to peg
- 1:20
these dependencies to a specific version
- 1:22
just so they don't break when you update
- 1:24
things you'll find the latest version
- 1:25
for each plugin and the firebase docs
- 1:28
that takes care of our initial flutter
- 1:29
setup now we need a firebase project
- 1:31
if you're brand new to firebase i'd
- 1:32
recommend checking out my firebase
- 1:34
basics video
- 1:35
oh and by the way if things are going
- 1:36
too fast in this video make sure to
- 1:38
follow along with the full write-up on
- 1:40
fireship io that breaks everything down
- 1:41
step by step
- 1:43
but at this point we just need a project
- 1:44
in the cloud that we can link to our
- 1:46
front-end app now it's time to configure
- 1:48
this app for android from the settings
- 1:49
tab in the firebase console we'll add a
- 1:51
new android app
- 1:52
we need to decide on a bundle id which
- 1:54
is like a reverse domain name
- 1:56
so in my case it would be io dot
- 1:58
fireship followed by the app name


