Mastering firebase for android development build real-time web, scalable, and cloud-enabled android apps with firebase
Develop a fully functional dynamic Android application using the latest features of Firebase About This Book Explore all the latest tools in Firebase - Firebase Firestore, ML-Kit, and Firebase Predictions Master Firebase cloud messaging, remote configuration, and work with a real-time database Make...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham ; Mumbai :
Packt
2018.
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630433306719 |
Tabla de Contenidos:
- Cover
- Title Page
- Copyright and Credits
- Dedication
- Packt Upsell
- Contributors
- Table of Contents
- Preface
- Chapter 1: 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
- Chapter 2: 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
- Chapter 3: 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
- Chapter 4: 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
- Chapter 5: 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
- Chapter 6: 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
- Chapter 7: 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
- Chapter 8: 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
- Chapter 9: 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
- Chapter 10: 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
- Chapter 11: 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
- Chapter 12: 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
- Chapter 13: 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
- Chapter 14: Analytics Data, Clairvoyant, Firebase Predictions
- Firebase Predictions
- Setting up Firebase Predictions
- Optimizing monetization
- Optimizing promotions
- Preventing churn
- Predefined predictions
- Predictions and risk tolerance
- Summary
- Chapter 15: 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
- Index.