Mastering Firebase for Android Development
Ashok Kumar S更新时间:2021-06-18 18:49:58
最新章节:Leave a review - let other readers know what you think封面
版权信息
Dedication
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the author
About the reviewers
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Conventions used
Get in touch
Reviews
Keep It Real – Firebase Realtime Database
Firebase Realtime Database
Setting up a development environment
Prerequisites
Configuring Firebase in Android projects
Reading and writing to Realtime Database
Database reference
Writing into Realtime Database
Reading from Realtime Database
Structuring the data with objects
Reading the objects from Firebase
Reading value changes
Parsing the DataSnapshot object
Updating data
Writing HashMaps to Realtime Database
Realtime Database and lists
Deleting data
Offline capabilities
Realtime Database rules
Default security rules
Database rules and types
Customizing database rules
Data security
Custom variables
Default variables
RuleDataSnapshot and its methods
Creating an Android application using Realtime Database
User interface design
Logic
Summary
Safe and Sound – Firebase Authentication
Firebase Authentication
Setting up Firebase Authentication
FirebaseUI Auth authentication
Firebase SDK Authentication
FirebaseUI Email Authentication
Configuring for Email Authentication
Enabling Email/Password Authentication in Console
Initializing Firebase Authentication
Finalizing the project
Firebase SDK Email Authentication
Sign up new users
Sign in existing users
Managing users
Provider-specific user profile details
Profile updating
Sending a verification Email
Forgot password
Deleting a user
Managing users through console
Smart Lock
FirebaseUI social networking site authentication
Google Sign-in
SHA-1 fingerprint
Code for Google provider
Facebook Login
Facebook App ID and App secret
Project configuration
Twitter Sign-in
Twitter Api key
Project Configuration
Phone number sign-in
Project configuration
Firebase SDK social networking site authentication
Google sign-in
Facebook login
Twitter sign-in
Phone number sign-in
Anonymous Authentication
Link multiple Auth providers
Firebase Authentication failures
Firebase Authentication exceptions
Summary
Safe and Sound – Firebase Crashlytics
Firebase Crash Reporting and Crashlytics
Firebase Crash Reporting setup
Creating crash reports
Creating custom logs
Deobfuscating ProGuard labels
Crash Report support for multiple APK
Disabling Crash Reporting
Firebase Crashlytics
Firebase Crashlytics setup and upgrading from Crash Reporting
Migrating from Firebase Crash Reporting to Crashlytics
Validating Crashlytics implementation
Enabling Crashlytics debug mode
Customizing Crashlytics reports
Crashlytics and functions
Summary
Genie in the Cloud – Firebase Cloud Functions
Firebase Cloud Functions
Set up the development environment
Project structure
Required modules
Deploying Cloud functions project
Custom logs and reviewing functions
Trigger functions
Cloud Firestore Triggers
Specific documents
Creating a document
Updating documents
Deleting a document
Changes in a document
Realtime Database Triggers
Firebase Authentication Triggers
Analytics and Crashlytics Triggers
Cloud Storage Triggers
HTTP Triggers
Cloud Pub/Sub Triggers
Writing Firebase functions
Cloud Functions to fire a push notification
Summary
Arsenal for Your Files – Firebase Cloud Storage
Firebase a Cloud Storage
Creating storage reference
Storage reference properties
Limitations of reference
Uploading and downloading files
Uploading files
Uploading existing files
Uploading files as a stream
Uploading from data in memory
Managing file upload
Monitoring file upload
Beyond monitoring and managing
Downloading files
Creating a reference
Downloading into memory
Downloading into a local file
Downloading data through a URL
Downloading images using FirebaseUI
Beyond downloading files
File metadata
Retrieving File Metadata
Update the metadata of the file
Deleting files
Handling common errors
Security and rules
The general syntax for storage security rules
Securing user files
Request and Resource Evaluation
Storage and functions
Firebase Storage in practice
Summary
Not Just a Keeper Firebase Hosting
Firebase Hosting
Deploying a website
Connecting to custom domain
Connecting Firebase cloud functions
Customizing hosting behavior
Custom 404/Not Found page
Redirects
Rewrites
Headers
Hosting priorities
Reserved URLs
Summary
Inspection and Evaluation – Firebase Test Lab
Firebase Test Lab
Test Lab for Android
Choosing the testing method
Robo testing
Choosing device type and reviewing test results
Test Lab with Firebase Console
Test Lab with gcloud CLI
Google Cloud SDK environment
Choosing test configurations
Scripting gcloud commands with Test Lab
Test Lab with CI systems
Creating a Jenkins project
Test Lab with Android Studio
Firebase Test Lab results
Available devices in Test Lab
Firebase Test Lab Game Loop testing
Test Loop Manager
Game loop in Test Lab
Prelaunch reports
Summary
A Smart Watchdog – Firebase Performance Monitoring
Firebase Performance Monitoring
Performance Monitoring for Android
Automatic traces
Custom trace and counters
Performance Monitoring for Android performance
Monitoring for specific network requests
Monitoring custom attributes
Enabling Logcat output
Firebase Console for Performance Monitoring
Summary
Application Usage Measuring and Notification Firebase Analytics and Cloud Messaging
Firebase Analytics
Firebase Analytics for Android
Setting user properties
Analytics in a WebView
Debugging events
Firebase Analytics and functions
Cloud Messaging
Firebase Cloud Messaging in Android
Accessing the device registration token
Cloud Messaging explained
Sending the first notification
Summary
Changing Your App – Firebase Remote Config and Dynamic Links
Firebase Remote Config
Setting up Remote Config on Android
Remote Config's singleton object
In-app parameters
Accessing the Remote Config parameters
Server-side parameters
Fetching the parameters
Activating parameters
Conditions rules and values
Remote Config and Google Analytics
A/B Testing with Remote Config
Firebase Dynamic Links
Dynamic Links use cases
Converting mobile web users to native app users
Sharing content between users
Rewarding referrals using Firebase
The anatomy of Dynamic Links
Creating Dynamic Links
Receiving Dynamic Links
Summary
Bringing Everyone on the Same Page Firebase Invites and Firebase App Indexing
Firebase Invites
Sending and receiving invites from Android applications
Firebase App Indexing
Enabling public content indexing
Enabling personal content indexing
Logging user actions
Testing your implementation
Search performance and latest APIs
Summary
Making a Monetary Impact and Firebase AdMob and AdWords
Firebase AdWords
Creating an AdWords account
Linking AdWords to Firebase
Tracking app conversions with Firebase
AdMob
Android Studio and initializing the SDK
Summary
Flexible NoSQL and Cloud Firestore
Cloud Firestore
Adding and managing data
Choosing a data structure for your Firestore project
Querying data
Securing data
Offline data support
Summary
Analytics Data Clairvoyant Firebase Predictions
Firebase Predictions
Setting up Firebase Predictions
Optimizing monetization
Optimizing promotions
Preventing churn
Predefined predictions
Predictions and risk tolerance
Summary
Training Your Code and ML Kit
Firebase ML Kit
Vision
Recognizing text
Setting up ML Kit for recognizing text
On-device text recognition
Cloud-Based text recognition
Face detection
Setting up ML Kit for face detection
Barcode scanning
Setting up ML Kit for barcode scanning
Custom models
ML Kit and text recognition
Summary
Other Books You May Enjoy
Leave a review - let other readers know what you think
更新时间:2021-06-18 18:49:58