📜 ⬆️ ⬇️

Google I / O 2016: Firebase Platform Development

Hi, Habr! A year and a half ago, the Firebase development team joined our friendly Google team . Since then, our BaaS (backend-as-service) has more than quadrupled - from 110 to 450 thousand developers. And all this time we have provided all the same services - DBRV (real-time database), user authorization, hosting - making application development easier. It is time to move on, so we are pleased to present you a major expansion of the capabilities of Firebase.



Firebase is becoming a universal platform for building Android, iOS, and mobile web applications. New tools to simplify development, attract users and monetize, as well as a new product in the field of analytics are waiting for you under the cut.

We have always remained faithful to the principles that were built into Firebase initially:

')

Firebase analytics


Firebase Analytics is a new free tool for ... analyzing mobile apps. In part, he inherited something from Google Analytics, but has a number of significant differences:

First, Firebase Analytics runs around user and events. Sessions, page views and application screens are good, but Google already has it. Our new product focuses on what the user is doing in your application. Also, you can find out exactly where users come to you - tracking paid advertising and channels to attract users gives visual graphs and tables.

Secondly, we have already spoken about the principle of rational integration - here it is implemented to the fullest. FA provides reliable information about user activity within the application, which allowed the implementation of a new function - Audience . Audiences allow you to identify different groups of users with similar properties. Subsequently, you will be able to receive separate information for different Audiences within a single Firebase environment.

Accelerate development with Messaging, Storage and Config features


Modern applications very often use interactive interactions in one way or another - therefore we expand our backend services. Google Cloud Messaging - the most popular service for delivering push notifications from the cloud to devices - is now integrated into Firebase and is called FCM - Firebase Cloud Messaging . It is completely free, has no restrictions, is perfectly optimized, saves the battery of client devices and works great on iOS, Android and in modern browsers. At the very core of FCM is scalability - today more than 170 billion (!) Messages are sent through it every day to ~ 2 billion different devices.

We have long been asked to add the ability to store images, videos, and just learn how to transfer files - now, thanks to Google Cloud Storage, we provide such an opportunity. Firebase Storage allows developers to easily and securely organize file downloads and storage, and a robust Google platform and technology ensures unrivaled accessibility, integration into Google services and scalability. We also paid attention to advanced logic in the client SDK for Firebase Storage, so our service works fine even in an unstable Internet connection.

Firebase Remote Config allows developers to fine-tune and update application elements on the fly without having to update an application package and wait for it to be available in the application store and then updated with users. You can turn on and off certain elements of applications, distribute the update to specific audience of users - and all this is literally a couple of clicks.

Of course, we have not forgotten about already existing products - BDVR, hosting and user authentication. Hosting has received a new interface and free support for third-party domains for all developers. The database will receive a major update in the near future, but for now we can’t tell anything about it. Wait, the update will not disappoint you. The largest update received Firebase Authentication - here both the new SDK and the redesigned backend structure - everything that is needed for improvements in security, reliability and scalability. Inside, the same technologies are used as in other Google products that work with Google user accounts. We also added linked accounts and proof of ownership of e-mail - something we have been asked for a long time.

Simplify Debugging: Test Lab and Crash Reporting


Falling apps are bad. Users are dissatisfied, write all sorts of nastiness in the reviews, put one star, go to competitors. FIrebase Crash Reporting collects and sends you the most important information that can help in finding problems for iOS / Android applications after release. Of course, the Audience function also works here, which is looking for similar signs - you will immediately see if users have something in common with a similar problem: the same device, locale, specific region of application use, or maybe certain usage scenarios applications.

At the last I / O (in 2015), we introduced the Cloud Test Lab - cloud testing of your applications on real devices, which are located in our data centers. Now this service will be called Firebase Test Lab and will get all the benefits of integration with Firebase tools.

Expanding Applications


Even the most useful applications sooner or later face a decline in user interest. Firebase has five effective tools to help you get the attention of your customers.

Firebase Notifications - a new interface built on the basis of the Firebase Cloud Messaging API, complemented by Firebase Analytics and Audiences. It allows you to target notifications to users of your application without touching the source code editor. It’s now easier to share new promotions, discounts, offer personalized conditions, and draw people's attention to new opportunities.

Firebase Dynamic Links improves work with links in two ways at once. First, the links have become “reliable”. That is, they lead to a specific location of the application (for example, to a specific project, event, company, whatever), even if the user has navigated through it and just first downloaded your application from Google Play. No more questions "I downloaded the application, what's next" or repeated clicks on the links. Such a “warm reception” showed excellent results in terms of user involvement in the work with the application.

Secondly, links can dynamically change their purpose depending on the environment in which they are running: different devices, browsers, clients - something like an advanced & utm_source.

Firebase Invites allows you to build a referral network in two accounts - let your clients bring new ones. Minimum effort, maximum results.

Firebase App Indexing , (formerly Google App Indexing) allows Google users to find results directly from your application. Taking into account the new features of Android N by launching applications without installation, an accelerated installation (if the user still needed it) and new features of Dynamic Links you will regularly replenish the user base with those who are really interested in your products.

AdWords, our advertising platform, is now integrated into Firebase. Firebase tracks the progress of your AdWords campaign and automatically fills in the relevant sections in Firebase Analytics. As you have probably already guessed, Audience and event tracking are also included here: this way you can customize AdWord parameters to achieve maximum advertising campaigns.

Monetizing applications with AdMob


The process of integrating various products was unstoppable. :) So the Google advertising platform is now also part of the Firebase exosystem. We have simplified the work with AdMob: as soon as you start using Firebase SDK in your project - AdMob is at your service. Various advertising formats (including native advertising), high-quality statistics, integration with other elements of Firebase are already included.

New console, documentation and SDK


At the very beginning of the post, we said that Firebase has one SDK, one console, and one place where you can get answers to your questions, support, and all the necessary documentation. This place is firebase.google.com .



Well, since Firebase has a new home now, we have chosen the most modern interior. The new console has received a redesigned interface that is closely integrated with other Google products, such as Google Play, Google Cloud, and those projects that have moved under the wing of Firebase.

Integration with Google Cloud carried out at a very deep level. For example, Firebase Analytics can export raw data to BiqQuery for further analysis. We will continue to build bridges between Google Cloud and Firebase, and expand your ability to use our cloud. Another good example of integration is linking your Google Play developer account to a Firebase account - this way the console becomes the center where everything about everything flows: starting with users, purchases inside your application, and using features from different groups of users, ending with financial data.

Finally, we are pleased to present you a beta version of the new C ++ SDK. All documentation and the necessary "starter pack" are already available on our website.

Price policy


Most of the new products, including Analytics, Crash Reporting, Remote Config, and Dynamic Links, are completely free and have no limitations. Paid services - Test Lab, Storage, BDRV and hosting - have got a simplified price grid . Today we offer:


Constancy of beauty


After Google I / O 2016, much has changed, but the basic principles of Firebase remain the same. Our main goal is simple and comfortable development with our APIs, intuitive interfaces, comprehensive documentation and tight product integration. We are committed to cross-platform development for iOS, Android and the web, and if you encounter difficulties, we will be happy to provide you with all possible support.

If you already use our products, nothing will change for you until you want it yourself. We will continue to support old customers and their products, but we advise you to familiarize yourself with the updates and evaluate the new features of Firebase, not for nothing that we tried ?! :)

Future plans


We have done a great job, but we have something to improve in Firebase. To date, the JavaScript SDK does not yet support all the new features. We have thrown all our efforts on bridging the gap in these technologies, and we will be happy to hear your feedback - for sure, we have something else to improve. You can leave an opinion about the new features of Firebase, report a bug or suggest an idea here .

In the meantime, you can personally try new features. Check out our new website , rate the documentation and try using Firebase in your products, as large projects like Shazam, SkyScanner and PicCollage are already doing.

Source: https://habr.com/ru/post/302482/


All Articles