What’s New in Firebase 2019

What’s New in Firebase 2019

Fire rises !!!! 🔥 🔥

September, 26th, fourth Firebase Summit, this time in Madrid !!!!

Begin…

Lets start with :

Google Analytics for Web….

Firebase extended its integration with Google Analytics to support the web!!!!

What's New in Firebase 2019..(Google Analytics)
What’s New in Firebase 2019..(Google Analytics)

Till now, Google Analytics was only available for mobile apps, but now for web too…..

Now you can use the features such as :

  • Segmenting audience
  • Trigger actions
  • Record events
  • Set user properties

for web…..

Expanded Google Analytics for Web…..(Firebase 2019)
Expanded Google Analytics for Web…..(Firebase 2019)

Get the User Journeys now through Path Analysis…

You’ll also have access to closed funnels, in the Google Analytics UI.

Cloud Messaging for Web….

You can send targeted FCM messages specific to browsers, O.S etc on the web….

Personalized messaging comes to web……

What's New in Firebase 2019…(Cloud Messaging)…
What’s New in Firebase 2019…(Cloud Messaging)…

Also with the messaging comes the recently-upgraded audiences feature…

Example for FCM in web (audience based)….

FCM audience based…..(Firebase 2019)
FCM audience based…..(Firebase 2019)

Remote Config for Web…

Create a personalized experience with Remote Config on Web…

Remote Config was launched for Web….

What's New in Firebase 2019…(Remote Config)…
What’s New in Firebase 2019…(Remote Config)…

Create simple configs like: browser-based, O.S based

to complex ones like: audience, user properties etc….

How to use these features…?

New projects (Firebase) already have these features enabled, while the existing ones just need to upgrade to full Google Analytics…..

How to get started…?.(Firebase 2019)
How to get started…?.(Firebase 2019)

Firebase Extensions….

Save time on everyday development tasks with Firebase Extensions

Firebase Extensions.(Firebase 2019)
Firebase Extensions.(Firebase 2019)

Firebase introduced Firebase Extensions, pre-packaged bundles of code designed to automate common tasks in your projects.

  • Resize Images
  • Translate Text
  • Sync with MailChimp
  • Trigger Email
  • Export Collections To BigQuery
  • Shorten URLs
  • Distributed Counter
  • Limit Child Nodes
  • Delete User Data

There’s no need to write or debug code–it’s all done for you, but you still have the flexibility to configure extensions for your specific use cases. 

Firebase Extensions are open-source and integrate seamlessly with other Firebase and Google Cloud Platform products.

Repository For Firebase Extensions….

https://github.com/firebase/extensions

Install these extensions via Firebase Console or CLI….

What's New in Firebase 2019…(Firebase Extensions)…
What’s New in Firebase 2019…(Firebase Extensions)…

As you install an extension, it gives you a detailed description about the CFs or other resources it requires…..The flow may look something like this….

Firebase Extensions (Flow)…..(Firebase 2019)
Firebase Extensions (Flow)…..(Firebase 2019)

If you may to view the source code for the extension before installing or after installing, you can still view by clicking on Source Code :

Source Code for Firebase Extension…..(Firebase 2019)
Source Code for Firebase Extension…..(Firebase 2019)

For instance, say you install Trigger Email extension, you also need to specify the collection (for the email) and also the email template…..

Trigger Email Setup….(Firebase 2019).
Trigger Email Setup…..(Firebase 2019)

When the user is created in Firestore, the documents / collections with look like this…..

Trigger Email Success…….(Firebase 2019)
Trigger Email Success…….(Firebase 2019)

Tip : You can manually alter the status field in case of ERROR….(Change it to SUCCESS and it will automatically try sending email again….)

This is how the email will look like,…….

Trigger Email Firebase Extension…...(Firebase 2019)
Trigger Email Firebase Extension……(Firebase 2019)

Firebase App Distribution….

Instantly install the build and test without installing any SDK….

Firebase introduces Firebase App Distribution, where you can upload specific builds, and send them a mail which will contain a link to instantly install the build and test it without installing any SDK !!!!

Firebase App Distribution….(Firebase 2019)
Firebase App Distribution….(Firebase 2019)

Note: You can upload both APK or IPA for testing….

Email link to the testers added in the group for App Distribution…

What's New in Firebase 2019….(App Distribution….)
What’s New in Firebase 2019….(App Distribution….)

App Distribution supports automation for the automatic distribution….

Automation Script for App Distribution…...(Firebase 2019)
Automation Script for App Distribution……(Firebase 2019)

Firebase Test Lab….

Firebase enables Test Sharding in Test Lab !!!

Speed up tests with Test Sharding. It enables you to divide tests into subgroups (shards), and run them in parallel.

Now view the Logs, Screenshots and even videos of the tests…

What's New in Firebase 2019….(Firebase Test Lab)…
What’s New in Firebase 2019….(Firebase Test Lab)…

There is also now a Firebase Emulator Suite, a set of local tools for building apps and features.

Firebase Emulator Suite…….(Firebase 2019)
Firebase Emulator Suite…….(Firebase 2019)

It includes 

  • Hot reloading for changes to security rules…
  • broader support for client and server-side SDKs
  • support for real-time Database triggered functions
  • a new command to bring it into the CI

Feature Rollouts for Remote Config…

Show/Hide features in the app on demand…..

Firebase introduced Feature Rollouts for Remote Config, which allows to rollback any feature immediately if required…..

What's New in Firebase 2019…(Feature Rollouts)..
What’s New in Firebase 2019…(Feature Rollouts)..

Note : We need to request this feature, and the Firebase team will take the decision….

This is supported by 

  • Firebase Remote Config
  • Google Analytics
  • Crashlytics
Setup Rollout…..(Firebase 2019)
Setup Rollout….(Firebase 2019)

Also, compare the two versions in the Crashlytics, by Feature….

Crash-free users by Feature in Crashlytics…….(Firebase 2019)
Crash-free users by Feature in Crashlytics…….(Firebase 2019)

Firebase Predictions….

Firebase updates the Firebase Predictions…!!!

The team updated Predictions interface so you can see the full spectrum of your user’s predicted behavior and target any segment of users depending on your use case.

Developers can generate AI-powered user behavior forecasts multiple times a day.