SlideShare a Scribd company logo
1 of 41
Firebase integration w/ Flutter
Muhammad Zhafran
linkedin.com/in/zfrn
@zhafran_dev
Get to know more about the Firebase in Flutter
Development
OUTLINE
Folks, here are what we’re going to talk about…
Wut is firebase?
Advantage
What does it
have to do w/
Flutter?
Lil bit of Google
Cloud
Computing
The
functionality
Q&A
The Features
Quiz
Get to Know Firebase
What is Firebase?
● Firebase is an app development platform that helps you build and
grow apps and games users love. Backed by Google and trusted by
millions of businesses around the world.
●Forget about
infrastructure
Features of firebase
• Make smart, data-
driven decisions
The paid stuff
● Firebase Realtime Database
● Firebase Authentication
● Firebase Cloud Functions
● Firebase Hosting
● Firebase Cloud Storage
● Firebase Cloud Firestore
● Firebase ML (Machine Learning) Services
Firebase is free or nah?
Let’s know these 2
● Flutter is an open-source UI software development kit
● Firebase is a set of backend cloud computing services and application
development platforms provided by Google.
● Flutter and Firebase can be a powerful combination for developing
modern and feature-rich mobile applications.
Flutter with firebase
Best practice
● Mobile Applications
● Startups and Prototyping:
● Real-time Collaboration Apps
● Progressive Web Apps (PWAs)
● Small to Medium-sized Projects
● Authentication and User Management
● IoT (Internet of Things) Applications
● Serverless Architecture
When to use Firebase?
When we should not use?
Not suitable w/ Firebase?
● Complex Backend Logic
● Large-Scale Enterprise Applications
● Data Intensive Applications
● Need for Full Control Over Infrastructure
● Offline-First Applications
● Budget Constraints for High Usage
● Non-Google Ecosystem
● Advanced Machine Learning or AI
Firebase Features
What is Firebase?
Firebase Features
● Google Analytics is a free app measurement solution that provides
insight on app usage and user engagement. Analytics reports help you
understand clearly how your users behave, which enables you to make
informed decisions regarding app marketing and performance
optimizations.
Google Analytic
Firebase Features
● App Check helps protect your backend resources (such as Cloud
Storage) from abuse (such as billing fraud or phishing).
● With App Check, devices running your app will use an app identity
attestation provider to certify it is indeed your authentic app, and may
also check that it's running on an authentic, untampered device. This
certification is attached to every request your app makes to your
Firebase backend resources.
App Check
Firebase Features
● Firebase Authentication provides backend services & easy-to-use SDKs
to authenticate users to your app. It supports authentication using
passwords, phone numbers, popular federated identity providers like
Google, Facebook and Twitter, and more.
Authentication
Firebase Features
● Firestore is a flexible, scalable NoSQL cloud database to store and sync
data. It keeps your data in sync across client apps through realtime
listeners and offers offline support so you can build responsive apps
that work regardless of network latency or Internet connectivity.
Firestore
Firebase Features
● The Cloud Firestore ODM package enables developers to build fully
type-safe applications for Flutter using the FlutterFire Cloud Firestore
plugin.
● The ODM allows data schemas to be defined which represent the data
structure of your Cloud Firestore database. By defining schemas the
ODM provides the following benefits:
↔️ Bi-directional data validation.
🔒 Type-safe data querying, supporting all Firestore query operations.
🔄 Flutter Widgets for simple data binding with your data.
🎯 Data selectors to help avoid unnecessary Widget rebuilds.
💻 Full API code completion.
Cloud Firestore ODM
Firebase Features
● Cloud Functions for Firebase let you automatically run backend code in
response to events triggered by Firebase features and HTTPS requests.
Your code is stored in Google's cloud and runs in a managed
environment. There's no need to manage and scale your own servers.
Cloud Functions
Firebase Features
a cross-platform messaging solution that lets you reliably send
messages at no cost.
Using FCM, you can notify a client app that new email or other data is
available to sync. You can send notification messages to drive user re-
engagement and retention. For use cases such as instant messaging, a
message can transfer a payload of up to 4 KB to a client app.
Firebase Cloud
Messaging
Firebase Features
● Crashlytics helps you to collect analytics and details about crashes and
errors that occur in your app. It does this through three aspects:
● Logs: Log events in your app to be sent with the crash report for context if your app
crashes.
● Crash reports: Every crash is automatically turned into a crash report and sent when
the application next opens.
● Stack traces: Even when an error is caught and your app recovers, the Dart stack
trace can still be sent.
Cloud Storage
Firebase Features
● Links that work the way you want, on multiple platforms, and whether
or not your app is already installed. If a user opens a Dynamic Link on
iOS or Android, they can be taken directly to the linked content in your
native app. If a user doesn't have your app installed, the user can be
prompted to install it; then, after installation, your app starts and can
access the link.
Dynamic Links
Firebase Features
● The Firebase Realtime Database is a cloud-hosted database. Data is
stored as JSON and synchronized in realtime to every connected client.
When you build cross-platform apps Flutter & Firebase, all of your
clients can share one Realtime Database instance and automatically
receive updates with the newest data.
Realtime Database
Firebase Features
● Firebase In-App Messaging helps you engage your app's active users by
sending them targeted, contextual messages that encourage them to
use key app features. For example, you could send an in-app message
to get users to subscribe, watch a video, complete a level, or buy an
item. You can customize messages as cards, banners, modals, or
images, and set up triggers so that they appear exactly when they'd
benefit your users most. Use Firebase In-App Messaging to encourage
exploration and discovery: highlight a sale or coupon in your
ecommerce app, give clues or tips in your game, or prompt a like or
share in your social media app.
In-App Messaging
Firebase Features
● If you use custom TensorFlow Lite models, Firebase ML can help you
ensure your users are always using the best-available version of your
custom model. When you deploy your model with Firebase, Firebase
ML only downloads the model when it's needed and automatically
updates your users with the latest version.
● Once downloaded, you can use packages such as tflite_flutter to
interpret your model.
Realtime Database
Firebase Features
● The Firebase Realtime Database is a cloud-hosted database. Data is
stored as JSON and synchronized in realtime to every connected client.
When you build cross-platform apps Flutter & Firebase, all of your
clients can share one Realtime Database instance and automatically
receive updates with the newest data.
Realtime Database
Tips
Experience
being a
speaker
Knowledge
(if lucky)
Knowledge
from this
session
Knowledge
by actually
doing it
Q&A Session
Quiz time
Quiz Time
What is Firebase?
a) A cloud computing platform
b) A mobile and web application development platform
c) A social media platform
d) A hardware manufacturing company
Question 1
Quiz Time
Which database does Firebase primarily use for real-time data
synchronization?
a) MongoDB
b) SQLite
c) Firebase Realtime Database
d) MySQL
Question 2
Quiz Time
What authentication providers does Firebase support?
a) Google, Facebook, and Twitter
b) Amazon, Microsoft, and LinkedIn
c) Instagram, Snapchat, and TikTok
d) Yahoo, AOL, and Outlook
Question 3
Quiz Time
What is Firebase Cloud Functions used for?
a) Managing cloud storage
b) Running server-side code in response to events
c) Creating user interfaces
d) Analyzing data in real-time
Question 4
Quiz Time
In Firebase, what is Firestore?
a) A cloud storage service
b) A real-time database
c) A serverless computing platform
d) An authentication provider
Question 5
2nd Quiz time
Quiz Time
In Flutter, what widget is commonly used to initialize Firebase
services?
a) FirebaseAppWidget
b) FirebaseInitialize
c) FirestoreWidget
d) Firebase.initializeApp()
Question 6
Quiz Time
In Flutter, what is the purpose of the firebase_core package?
a) Firebase authentication
b) Firebase real-time database
c) Firebase Cloud Messaging
d) Firebase core initialization
Question 7
Quiz Time
What type of database is Firestore?
a) Relational database
b) NoSQL database
c) Graph database
d) In-memory database
Question 8
Quiz Time
In Firestore, what is a Document?
a) A table
b) A record
c) A collection of data
d) A JSON-like object with key-value pairs
Question 9
Quiz Time
How are documents organized in Firestore?
a) In tables
b) In rows and columns
c) In collections
d) In folders
Question 10
It’s programmin’ time
Thank You

More Related Content

Similar to Firebase integration with Flutter

Top 5 Benefits Of Firebase Database System.pptx
Top 5 Benefits Of Firebase Database System.pptxTop 5 Benefits Of Firebase Database System.pptx
Top 5 Benefits Of Firebase Database System.pptxFlutter Agency
 
AWS Amplify vs. Firebase Selecting the Best Backend for Your Apps.pdf
AWS Amplify vs. Firebase Selecting the Best Backend for Your Apps.pdfAWS Amplify vs. Firebase Selecting the Best Backend for Your Apps.pdf
AWS Amplify vs. Firebase Selecting the Best Backend for Your Apps.pdfLaura Miller
 
intrduction to firebase.pptx
intrduction to firebase.pptxintrduction to firebase.pptx
intrduction to firebase.pptx21IT324MariAppan
 
Top 8 Flutter App Development Tools.pdf
Top 8 Flutter App Development Tools.pdfTop 8 Flutter App Development Tools.pdf
Top 8 Flutter App Development Tools.pdfFuGenx Technologies
 
Enhance Your Real-Time Apps with Firebase and Flutter Integration
Enhance Your Real-Time Apps with Firebase and Flutter IntegrationEnhance Your Real-Time Apps with Firebase and Flutter Integration
Enhance Your Real-Time Apps with Firebase and Flutter IntegrationTriState Technology
 
Flutter and Firebase – A Helpful Blend for Your Business App
Flutter and Firebase – A Helpful Blend for Your Business AppFlutter and Firebase – A Helpful Blend for Your Business App
Flutter and Firebase – A Helpful Blend for Your Business AppDashTechnologiesInc
 
ML Kit , Cloud FF GDSC MESCOE.pdf
ML Kit , Cloud FF GDSC MESCOE.pdfML Kit , Cloud FF GDSC MESCOE.pdf
ML Kit , Cloud FF GDSC MESCOE.pdfAkankshaPathak42
 
Alumni-Student Interactive Messaging
Alumni-Student Interactive MessagingAlumni-Student Interactive Messaging
Alumni-Student Interactive MessagingIRJET Journal
 
Which Backend Is Best For Flutter.pdf
Which Backend Is Best For Flutter.pdfWhich Backend Is Best For Flutter.pdf
Which Backend Is Best For Flutter.pdfAppdeveloper10
 
Best 5 backend services for react native applications
Best 5 backend services for react native applicationsBest 5 backend services for react native applications
Best 5 backend services for react native applicationsShelly Megan
 

Similar to Firebase integration with Flutter (20)

Top 5 Benefits Of Firebase Database System.pptx
Top 5 Benefits Of Firebase Database System.pptxTop 5 Benefits Of Firebase Database System.pptx
Top 5 Benefits Of Firebase Database System.pptx
 
AWS Amplify vs. Firebase Selecting the Best Backend for Your Apps.pdf
AWS Amplify vs. Firebase Selecting the Best Backend for Your Apps.pdfAWS Amplify vs. Firebase Selecting the Best Backend for Your Apps.pdf
AWS Amplify vs. Firebase Selecting the Best Backend for Your Apps.pdf
 
Firebase .pptx
Firebase .pptxFirebase .pptx
Firebase .pptx
 
Firebase
FirebaseFirebase
Firebase
 
Firebase
FirebaseFirebase
Firebase
 
19-03-22.pdf
19-03-22.pdf19-03-22.pdf
19-03-22.pdf
 
Google MLkit
Google MLkitGoogle MLkit
Google MLkit
 
Firebase Services
Firebase ServicesFirebase Services
Firebase Services
 
intrduction to firebase.pptx
intrduction to firebase.pptxintrduction to firebase.pptx
intrduction to firebase.pptx
 
Top 8 Flutter App Development Tools.pdf
Top 8 Flutter App Development Tools.pdfTop 8 Flutter App Development Tools.pdf
Top 8 Flutter App Development Tools.pdf
 
Enhance Your Real-Time Apps with Firebase and Flutter Integration
Enhance Your Real-Time Apps with Firebase and Flutter IntegrationEnhance Your Real-Time Apps with Firebase and Flutter Integration
Enhance Your Real-Time Apps with Firebase and Flutter Integration
 
Firebase Android
Firebase AndroidFirebase Android
Firebase Android
 
Flutter and Firebase – A Helpful Blend for Your Business App
Flutter and Firebase – A Helpful Blend for Your Business AppFlutter and Firebase – A Helpful Blend for Your Business App
Flutter and Firebase – A Helpful Blend for Your Business App
 
ML Kit , Cloud FF GDSC MESCOE.pdf
ML Kit , Cloud FF GDSC MESCOE.pdfML Kit , Cloud FF GDSC MESCOE.pdf
ML Kit , Cloud FF GDSC MESCOE.pdf
 
Alumni-Student Interactive Messaging
Alumni-Student Interactive MessagingAlumni-Student Interactive Messaging
Alumni-Student Interactive Messaging
 
Which Backend Is Best For Flutter.pdf
Which Backend Is Best For Flutter.pdfWhich Backend Is Best For Flutter.pdf
Which Backend Is Best For Flutter.pdf
 
Firebase
FirebaseFirebase
Firebase
 
Best 5 backend services for react native applications
Best 5 backend services for react native applicationsBest 5 backend services for react native applications
Best 5 backend services for react native applications
 
Dimensions Event PPT.pdf
Dimensions Event PPT.pdfDimensions Event PPT.pdf
Dimensions Event PPT.pdf
 
Firebase
FirebaseFirebase
Firebase
 

More from pmgdscunsri

[InspireHER] Carving Success as Kartini: Strategies in Pursuing Careers
[InspireHER] Carving Success as Kartini: Strategies in Pursuing Careers[InspireHER] Carving Success as Kartini: Strategies in Pursuing Careers
[InspireHER] Carving Success as Kartini: Strategies in Pursuing Careerspmgdscunsri
 
Leveling Up your Branding and Mastering MERN: Fullstack WebDev
Leveling Up your Branding and Mastering MERN: Fullstack WebDevLeveling Up your Branding and Mastering MERN: Fullstack WebDev
Leveling Up your Branding and Mastering MERN: Fullstack WebDevpmgdscunsri
 
Deep Learning For Computer Vision- Day 3 Study Jams GDSC Unsri.pptx
Deep Learning For Computer Vision- Day 3 Study Jams GDSC Unsri.pptxDeep Learning For Computer Vision- Day 3 Study Jams GDSC Unsri.pptx
Deep Learning For Computer Vision- Day 3 Study Jams GDSC Unsri.pptxpmgdscunsri
 
Building a Flutter App.pptx
Building a Flutter App.pptxBuilding a Flutter App.pptx
Building a Flutter App.pptxpmgdscunsri
 
Dart Object-Oriented Programming (OOP) and Flutter State Management
Dart Object-Oriented Programming (OOP) and Flutter State ManagementDart Object-Oriented Programming (OOP) and Flutter State Management
Dart Object-Oriented Programming (OOP) and Flutter State Managementpmgdscunsri
 
Convolutional Neural Networks (CNN) for Computer Vision - Day 4 Study Jams G...
Convolutional Neural Networks (CNN) for Computer  Vision - Day 4 Study Jams G...Convolutional Neural Networks (CNN) for Computer  Vision - Day 4 Study Jams G...
Convolutional Neural Networks (CNN) for Computer Vision - Day 4 Study Jams G...pmgdscunsri
 
Linear Regression, Classification and Data Time Series - Day 2 Study Jams GDS...
Linear Regression, Classification and Data Time Series - Day 2 Study Jams GDS...Linear Regression, Classification and Data Time Series - Day 2 Study Jams GDS...
Linear Regression, Classification and Data Time Series - Day 2 Study Jams GDS...pmgdscunsri
 
Introduction to Machine Learning - Day 1 Study Jams GDSC Unsri.pptx
Introduction to Machine Learning - Day 1 Study Jams GDSC Unsri.pptxIntroduction to Machine Learning - Day 1 Study Jams GDSC Unsri.pptx
Introduction to Machine Learning - Day 1 Study Jams GDSC Unsri.pptxpmgdscunsri
 
Dart Basics & Introduction to Flutter Part 2.pptx
Dart Basics & Introduction to Flutter Part 2.pptxDart Basics & Introduction to Flutter Part 2.pptx
Dart Basics & Introduction to Flutter Part 2.pptxpmgdscunsri
 
Dart Basics & Introduction to Flutter Part 1
Dart Basics & Introduction to Flutter Part 1Dart Basics & Introduction to Flutter Part 1
Dart Basics & Introduction to Flutter Part 1pmgdscunsri
 
Seminar and DevTalk : Mastering UX Research - 5 Whys Framework
Seminar and DevTalk : Mastering UX Research - 5 Whys FrameworkSeminar and DevTalk : Mastering UX Research - 5 Whys Framework
Seminar and DevTalk : Mastering UX Research - 5 Whys Frameworkpmgdscunsri
 
Seminar and DevTalk : Mastering UX Research - What is UX Research
Seminar and DevTalk : Mastering UX Research - What is UX ResearchSeminar and DevTalk : Mastering UX Research - What is UX Research
Seminar and DevTalk : Mastering UX Research - What is UX Researchpmgdscunsri
 
Info Session Bangkit Academy "Empowering Through Bangkit: Unveiling the Essen...
Info Session Bangkit Academy "Empowering Through Bangkit: Unveiling the Essen...Info Session Bangkit Academy "Empowering Through Bangkit: Unveiling the Essen...
Info Session Bangkit Academy "Empowering Through Bangkit: Unveiling the Essen...pmgdscunsri
 
Sosialisasi Bangkit 2024: Discovering Bangkit Academy, Capstone, and Incubati...
Sosialisasi Bangkit 2024: Discovering Bangkit Academy, Capstone, and Incubati...Sosialisasi Bangkit 2024: Discovering Bangkit Academy, Capstone, and Incubati...
Sosialisasi Bangkit 2024: Discovering Bangkit Academy, Capstone, and Incubati...pmgdscunsri
 
Sharing Session Internal : Computer Security
Sharing Session Internal : Computer SecuritySharing Session Internal : Computer Security
Sharing Session Internal : Computer Securitypmgdscunsri
 

More from pmgdscunsri (15)

[InspireHER] Carving Success as Kartini: Strategies in Pursuing Careers
[InspireHER] Carving Success as Kartini: Strategies in Pursuing Careers[InspireHER] Carving Success as Kartini: Strategies in Pursuing Careers
[InspireHER] Carving Success as Kartini: Strategies in Pursuing Careers
 
Leveling Up your Branding and Mastering MERN: Fullstack WebDev
Leveling Up your Branding and Mastering MERN: Fullstack WebDevLeveling Up your Branding and Mastering MERN: Fullstack WebDev
Leveling Up your Branding and Mastering MERN: Fullstack WebDev
 
Deep Learning For Computer Vision- Day 3 Study Jams GDSC Unsri.pptx
Deep Learning For Computer Vision- Day 3 Study Jams GDSC Unsri.pptxDeep Learning For Computer Vision- Day 3 Study Jams GDSC Unsri.pptx
Deep Learning For Computer Vision- Day 3 Study Jams GDSC Unsri.pptx
 
Building a Flutter App.pptx
Building a Flutter App.pptxBuilding a Flutter App.pptx
Building a Flutter App.pptx
 
Dart Object-Oriented Programming (OOP) and Flutter State Management
Dart Object-Oriented Programming (OOP) and Flutter State ManagementDart Object-Oriented Programming (OOP) and Flutter State Management
Dart Object-Oriented Programming (OOP) and Flutter State Management
 
Convolutional Neural Networks (CNN) for Computer Vision - Day 4 Study Jams G...
Convolutional Neural Networks (CNN) for Computer  Vision - Day 4 Study Jams G...Convolutional Neural Networks (CNN) for Computer  Vision - Day 4 Study Jams G...
Convolutional Neural Networks (CNN) for Computer Vision - Day 4 Study Jams G...
 
Linear Regression, Classification and Data Time Series - Day 2 Study Jams GDS...
Linear Regression, Classification and Data Time Series - Day 2 Study Jams GDS...Linear Regression, Classification and Data Time Series - Day 2 Study Jams GDS...
Linear Regression, Classification and Data Time Series - Day 2 Study Jams GDS...
 
Introduction to Machine Learning - Day 1 Study Jams GDSC Unsri.pptx
Introduction to Machine Learning - Day 1 Study Jams GDSC Unsri.pptxIntroduction to Machine Learning - Day 1 Study Jams GDSC Unsri.pptx
Introduction to Machine Learning - Day 1 Study Jams GDSC Unsri.pptx
 
Dart Basics & Introduction to Flutter Part 2.pptx
Dart Basics & Introduction to Flutter Part 2.pptxDart Basics & Introduction to Flutter Part 2.pptx
Dart Basics & Introduction to Flutter Part 2.pptx
 
Dart Basics & Introduction to Flutter Part 1
Dart Basics & Introduction to Flutter Part 1Dart Basics & Introduction to Flutter Part 1
Dart Basics & Introduction to Flutter Part 1
 
Seminar and DevTalk : Mastering UX Research - 5 Whys Framework
Seminar and DevTalk : Mastering UX Research - 5 Whys FrameworkSeminar and DevTalk : Mastering UX Research - 5 Whys Framework
Seminar and DevTalk : Mastering UX Research - 5 Whys Framework
 
Seminar and DevTalk : Mastering UX Research - What is UX Research
Seminar and DevTalk : Mastering UX Research - What is UX ResearchSeminar and DevTalk : Mastering UX Research - What is UX Research
Seminar and DevTalk : Mastering UX Research - What is UX Research
 
Info Session Bangkit Academy "Empowering Through Bangkit: Unveiling the Essen...
Info Session Bangkit Academy "Empowering Through Bangkit: Unveiling the Essen...Info Session Bangkit Academy "Empowering Through Bangkit: Unveiling the Essen...
Info Session Bangkit Academy "Empowering Through Bangkit: Unveiling the Essen...
 
Sosialisasi Bangkit 2024: Discovering Bangkit Academy, Capstone, and Incubati...
Sosialisasi Bangkit 2024: Discovering Bangkit Academy, Capstone, and Incubati...Sosialisasi Bangkit 2024: Discovering Bangkit Academy, Capstone, and Incubati...
Sosialisasi Bangkit 2024: Discovering Bangkit Academy, Capstone, and Incubati...
 
Sharing Session Internal : Computer Security
Sharing Session Internal : Computer SecuritySharing Session Internal : Computer Security
Sharing Session Internal : Computer Security
 

Recently uploaded

Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsAndrey Dotsenko
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 

Recently uploaded (20)

Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 

Firebase integration with Flutter

  • 1. Firebase integration w/ Flutter Muhammad Zhafran linkedin.com/in/zfrn @zhafran_dev Get to know more about the Firebase in Flutter Development
  • 2. OUTLINE Folks, here are what we’re going to talk about… Wut is firebase? Advantage What does it have to do w/ Flutter? Lil bit of Google Cloud Computing The functionality Q&A The Features Quiz
  • 3. Get to Know Firebase What is Firebase? ● Firebase is an app development platform that helps you build and grow apps and games users love. Backed by Google and trusted by millions of businesses around the world.
  • 4. ●Forget about infrastructure Features of firebase • Make smart, data- driven decisions
  • 5. The paid stuff ● Firebase Realtime Database ● Firebase Authentication ● Firebase Cloud Functions ● Firebase Hosting ● Firebase Cloud Storage ● Firebase Cloud Firestore ● Firebase ML (Machine Learning) Services Firebase is free or nah?
  • 6. Let’s know these 2 ● Flutter is an open-source UI software development kit ● Firebase is a set of backend cloud computing services and application development platforms provided by Google. ● Flutter and Firebase can be a powerful combination for developing modern and feature-rich mobile applications. Flutter with firebase
  • 7. Best practice ● Mobile Applications ● Startups and Prototyping: ● Real-time Collaboration Apps ● Progressive Web Apps (PWAs) ● Small to Medium-sized Projects ● Authentication and User Management ● IoT (Internet of Things) Applications ● Serverless Architecture When to use Firebase?
  • 8. When we should not use? Not suitable w/ Firebase? ● Complex Backend Logic ● Large-Scale Enterprise Applications ● Data Intensive Applications ● Need for Full Control Over Infrastructure ● Offline-First Applications ● Budget Constraints for High Usage ● Non-Google Ecosystem ● Advanced Machine Learning or AI
  • 11.
  • 12. Firebase Features ● Google Analytics is a free app measurement solution that provides insight on app usage and user engagement. Analytics reports help you understand clearly how your users behave, which enables you to make informed decisions regarding app marketing and performance optimizations. Google Analytic
  • 13. Firebase Features ● App Check helps protect your backend resources (such as Cloud Storage) from abuse (such as billing fraud or phishing). ● With App Check, devices running your app will use an app identity attestation provider to certify it is indeed your authentic app, and may also check that it's running on an authentic, untampered device. This certification is attached to every request your app makes to your Firebase backend resources. App Check
  • 14. Firebase Features ● Firebase Authentication provides backend services & easy-to-use SDKs to authenticate users to your app. It supports authentication using passwords, phone numbers, popular federated identity providers like Google, Facebook and Twitter, and more. Authentication
  • 15. Firebase Features ● Firestore is a flexible, scalable NoSQL cloud database to store and sync data. It keeps your data in sync across client apps through realtime listeners and offers offline support so you can build responsive apps that work regardless of network latency or Internet connectivity. Firestore
  • 16. Firebase Features ● The Cloud Firestore ODM package enables developers to build fully type-safe applications for Flutter using the FlutterFire Cloud Firestore plugin. ● The ODM allows data schemas to be defined which represent the data structure of your Cloud Firestore database. By defining schemas the ODM provides the following benefits: ↔️ Bi-directional data validation. 🔒 Type-safe data querying, supporting all Firestore query operations. 🔄 Flutter Widgets for simple data binding with your data. 🎯 Data selectors to help avoid unnecessary Widget rebuilds. 💻 Full API code completion. Cloud Firestore ODM
  • 17. Firebase Features ● Cloud Functions for Firebase let you automatically run backend code in response to events triggered by Firebase features and HTTPS requests. Your code is stored in Google's cloud and runs in a managed environment. There's no need to manage and scale your own servers. Cloud Functions
  • 18. Firebase Features a cross-platform messaging solution that lets you reliably send messages at no cost. Using FCM, you can notify a client app that new email or other data is available to sync. You can send notification messages to drive user re- engagement and retention. For use cases such as instant messaging, a message can transfer a payload of up to 4 KB to a client app. Firebase Cloud Messaging
  • 19. Firebase Features ● Crashlytics helps you to collect analytics and details about crashes and errors that occur in your app. It does this through three aspects: ● Logs: Log events in your app to be sent with the crash report for context if your app crashes. ● Crash reports: Every crash is automatically turned into a crash report and sent when the application next opens. ● Stack traces: Even when an error is caught and your app recovers, the Dart stack trace can still be sent. Cloud Storage
  • 20. Firebase Features ● Links that work the way you want, on multiple platforms, and whether or not your app is already installed. If a user opens a Dynamic Link on iOS or Android, they can be taken directly to the linked content in your native app. If a user doesn't have your app installed, the user can be prompted to install it; then, after installation, your app starts and can access the link. Dynamic Links
  • 21. Firebase Features ● The Firebase Realtime Database is a cloud-hosted database. Data is stored as JSON and synchronized in realtime to every connected client. When you build cross-platform apps Flutter & Firebase, all of your clients can share one Realtime Database instance and automatically receive updates with the newest data. Realtime Database
  • 22. Firebase Features ● Firebase In-App Messaging helps you engage your app's active users by sending them targeted, contextual messages that encourage them to use key app features. For example, you could send an in-app message to get users to subscribe, watch a video, complete a level, or buy an item. You can customize messages as cards, banners, modals, or images, and set up triggers so that they appear exactly when they'd benefit your users most. Use Firebase In-App Messaging to encourage exploration and discovery: highlight a sale or coupon in your ecommerce app, give clues or tips in your game, or prompt a like or share in your social media app. In-App Messaging
  • 23. Firebase Features ● If you use custom TensorFlow Lite models, Firebase ML can help you ensure your users are always using the best-available version of your custom model. When you deploy your model with Firebase, Firebase ML only downloads the model when it's needed and automatically updates your users with the latest version. ● Once downloaded, you can use packages such as tflite_flutter to interpret your model. Realtime Database
  • 24. Firebase Features ● The Firebase Realtime Database is a cloud-hosted database. Data is stored as JSON and synchronized in realtime to every connected client. When you build cross-platform apps Flutter & Firebase, all of your clients can share one Realtime Database instance and automatically receive updates with the newest data. Realtime Database
  • 25. Tips
  • 26. Experience being a speaker Knowledge (if lucky) Knowledge from this session Knowledge by actually doing it
  • 29. Quiz Time What is Firebase? a) A cloud computing platform b) A mobile and web application development platform c) A social media platform d) A hardware manufacturing company Question 1
  • 30. Quiz Time Which database does Firebase primarily use for real-time data synchronization? a) MongoDB b) SQLite c) Firebase Realtime Database d) MySQL Question 2
  • 31. Quiz Time What authentication providers does Firebase support? a) Google, Facebook, and Twitter b) Amazon, Microsoft, and LinkedIn c) Instagram, Snapchat, and TikTok d) Yahoo, AOL, and Outlook Question 3
  • 32. Quiz Time What is Firebase Cloud Functions used for? a) Managing cloud storage b) Running server-side code in response to events c) Creating user interfaces d) Analyzing data in real-time Question 4
  • 33. Quiz Time In Firebase, what is Firestore? a) A cloud storage service b) A real-time database c) A serverless computing platform d) An authentication provider Question 5
  • 35. Quiz Time In Flutter, what widget is commonly used to initialize Firebase services? a) FirebaseAppWidget b) FirebaseInitialize c) FirestoreWidget d) Firebase.initializeApp() Question 6
  • 36. Quiz Time In Flutter, what is the purpose of the firebase_core package? a) Firebase authentication b) Firebase real-time database c) Firebase Cloud Messaging d) Firebase core initialization Question 7
  • 37. Quiz Time What type of database is Firestore? a) Relational database b) NoSQL database c) Graph database d) In-memory database Question 8
  • 38. Quiz Time In Firestore, what is a Document? a) A table b) A record c) A collection of data d) A JSON-like object with key-value pairs Question 9
  • 39. Quiz Time How are documents organized in Firestore? a) In tables b) In rows and columns c) In collections d) In folders Question 10