Mastering Firebase for Android Development
eBook - ePub

Mastering Firebase for Android Development

Build real-time, scalable, and cloud-enabled Android apps with Firebase

Ashok Kumar S

Share book
  1. 394 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Mastering Firebase for Android Development

Build real-time, scalable, and cloud-enabled Android apps with Firebase

Ashok Kumar S

Book details
Book preview
Table of contents
Citations

About This Book

Develop a fully functional dynamic Android application using the latest features of FirebaseAbout 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 your app a global success with the help of Google Analytics and AdMobWho This Book Is ForMastering Firebase for Android Development is for individualslooking to extend their skills with Firebase and build faster, scalable, and real-time mobile applications. Basic understanding of Android programming is necessary. In all, this in-depth guide is an accessible pathway to mastering Firebase.What You Will Learnā€¢ Learn about Firebase push notifications and write backend functionalitiesā€¢ Identify the root cause of an application crash and diagnose and fix bugsā€¢ Store different Multipurpose Internet MailExtension(MIME) type filesā€¢ Explore web hosting and connect the Firebase functions to the host websiteā€¢ Send push notifications and understand the deep integration of analytics tools and cohortsā€¢ Market and monetize your application using Firebase Adwords and Admobā€¢ Build a secure authentication framework while enhancing the sign-in and on-boarding experience for end usersIn DetailFirebase offers a wide spectrum of tools and services to help you develop high-quality apps in a short period of time. It also allows you to build web and mobile apps quickly without managing the infrastructure.Mastering Firebase for Android Development takes you through the complete toolchain of Firebase, including the latest tools announced in Google IO 2018 such as Firebase ML-Kit, FireStore, and Firebase Predictions.The book begins by teaching you to configure your development environment with Firebase and set up a different structure for a Firebase real-time database. As you make your way through the chapters, you'll establish the authentication feature in Android and explore email and phone authentication for managing the on-boarding of users. You'll be taken through topics on Firebase crash reporting, Firebase functions, Firebase Cloud, Firebase Hosting, and Cloud Messaging for push notifications and explore other key areas in depth. In the concluding chapters, you will learn to use Firebase Test Lab to test your application before using Firebase Performance Monitoring to trace performance setbacks.By the end of the book, you will be well equipped with the Firebase ecosystem, which will help you find solutions to your common application development challenges.Style and approachA step by step guide taking you through the different features of Firebase

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weā€™ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Mastering Firebase for Android Development an online PDF/ePUB?
Yes, you can access Mastering Firebase for Android Development by Ashok Kumar S in PDF and/or ePUB format, as well as other popular books in Computer Science & Cloud Computing. We have over one million books available in our catalogue for you to explore.

Information

Year
2018
ISBN
9781788624251
Edition
1

Arsenal for Your Files ā€“ Firebase Cloud Storage

"The more storage you have, the more stuff you accumulate."
ā€” Alexis Stewart
Cloud Storage for Firebase is an intense, straightforward, and economic data storage service built at Google scale. The Firebase SDKs for Cloud Storage add Google security to file transfers and downloads for your Firebase applications, paying little respect to network quality. You can utilize SDKs to store pictures, audio, video, or other client produced content. On the server, using Google Cloud Storage, we can get access to these stored files.
Firebase Cloud Storage allows web and mobile platforms to upload and download files more elegantly and securely. Firebase SDK offers a library for Firebase Cloud Storage. Developers can write programs that can upload or download the user files. Also, Firebase SDK handles weak network connections by itself. Firebase SDK can re-initiate the process from where it stopped. It also helps developers to be less concerned about saving users time and bandwidth.
Firebase Cloud Storage is one of the most significant components in the Firebase toolchain. At the time of writing this book, Firebase Cloud Storage supports the iOS, Android, web, C++, and Unity platforms.
In this chapter, we will cover the following topics:
  • Overview of Firebase Cloud Storage
  • Creating references
  • Uploading and downloading files
  • File Metadata
  • Deleting files
  • Handling common errors
  • Security and rules
  • Extending with Cloud Functions
  • Integrating with Google Cloud

Firebase a Cloud Storage

Firebase Cloud Storage service is built for scaling storage, up to exabytes, if and when it's required. Firebase also allows a smooth transition from prototype to production, using existing file storage infrastructure. Firebase Cloud Storage helps to store files inside a Google Cloud Storage Bucket. Later, the data can be accessed from Firebase and Google Cloud.
Firebase Cloud Storage permits files of any type to be stored using the Google Cloud Storage platform. All the data that we upload is saved in a Google Cloud Bucket. By default, all the data and files are stored in a single bucket, but Firebase also allows configuring multiple buckets. Firebase handles everything in the background, from resuming the upload process to retrying the loss of connectivity.
Firebase enables developers to add custom metadata to files. Similar to Real-time Database, Firebase Cloud Storage also has a set of rules and security parameters to ensure the data remains safe. Using Firebase authentication, we can make sure only authorized users are allowed to upload and download files. Also, Firebase Cloud offers robust operations, robust security, and high scalability.
The Firebase Cloud Storage filesystem is similar to a filesystem in an operating system, and Cloud Storage uses the hierarchical structure of nodes, which expresses the idea of files, directory, and subdirectories in a filesystem. Files and directories are accessed th...

Table of contents