Best 5+ Firebase Extensions as of June 2021

Firebase Extensions are pre-packaged solutions that interface with other Firebase solutions and allow you to do a variety of things (pun intended). Resizing photos uploaded to Cloud Storage, shortening URLs from Cloud Firestore, and sending an email when a document is added are just a few examples.

5 Firebase Extensions

These extensions were created with the goal of increasing developer and company productivity. Each extension has been fully constructed and tested by the Firebase team, so we don't have to spend time and money constructing and maintaining them as Cloud Functions.

Although Firebase Extensions is currently in beta, it has been available for several months. Since it was first released, the catalogue has grown a tiny bit. It's not vast by any means, but they've provided us with a robust set of functionalities that will aid many developers and businesses in increasing their productivity.

Here are the top 5 extensions, ranked by how widely applicable they can be as well as how much impact they can have.

Before we get started on the list, I'd like to state that this is purely my opinion. The meaning of an extension is purely subjective, and everyone can have their own thoughts on it. So, without further ado, let's begin the countdown.

1. Resize Images

Function: Automatically resize photographs uploaded to Cloud Storage and maintain the original image if desired.

Dependencies: App must use Cloud Storage and have a Storage Bucket already set up.

Associated Charges: Cloud Storage, Cloud Functions.

Almost every software allows users to upload photographs to Cloud Storage and download them to their client devices. This includes account profile photos, image attachments, and maybe even basic content management systems.

To provide a pleasant user experience, these apps must be able to quickly download and display these photos in a clear resolution. You'll need an image that isn't too small or too big for this. Your image will not appear clearly if it is too small. If your image is too large, it will take a long time and consume a lot of bandwidth to download.

If you allow your users to upload their own photographs, you can bet that they'll be uploading images of all different widths and heights that your app's UI won't support.

This Cloud Function ensures that your app provides the greatest user experience possible when downloading these photos. Because any type of picture processing is considered CPU intensive work, having all of this work done in the cloud ensures that your consumers' devices are unaffected and continue to function as efficiently as possible.

2. Sync with Mailchimp

Function: Adds freshly authorized users to a Mailchimp audience that already exists.

Dependencies: Mailchimp API Key and Audience ID must be used, and the app must use Firebase Authentication to manage users.

Associated Charges: Firebase Authentication, Cloud Functions.

For those unfamiliar with Mailchimp, it is a marketing tool that is mostly used to send emails and newsletters to users who have subscribed to it. You can create numerous audiences and manage their emails separately.

It's great to have Email Triggers in Firestore, but there's only so much you can do within the Firebase environment. You get a lot more power and flexibility by extending to Mailchimp, which allows you to deliver your readers the content they desire in the form of manually inserted email campaigns, automatic newsletters sent from RSS feeds (such from a WordPress blog), and other integrated services.

3. Shorten URLs

Function: Bitly can be used to shorten a URL stored in Cloud Firestore and save it in a new field inside the same document. The shortened URL will be updated if the full URL is updated.

Dependencies: URLs must be saved in Cloud Firestore by the app. In addition, a Bitly access token must be provided.

Associated Charges: Cloud Firestore, Cloud Functions.

URL shortening is a frequent function seen in programmes that allow users to download files, post content, or just shorten links in email newsletters. This function's vast range of applications and efficiency in doing so earns it the number three slot on this list.

4. Trigger Email

Function: When a document is added to Cloud Firestore, send an email with data from the document.

Dependencies: Cloud Firestore must be used by the app.

Associated Charges: Cloud Firestore, Cloud Functions.

Email is a great tool for keeping people engaged, and when utilized effectively, it can significantly increase retention. This extension can be utilized in a variety of ways depending on your app's needs.

It can be used to send emails when a user completes an authentication flow (after the account has been created), subscribes to a newsletter, reaches a milestone, approaches paid plan cycle times, and so on.

5. Delete User Data

Function: When a user deletes their account, it deletes all of their data from the Firestore/Realtime Database (from Firebase Authentication).

Dependencies: The app must manage users using Firebase Authentication and store user data in either Cloud Firestore or Realtime Database.

Associated Charges: Authentication, Cloud Functions, Cloud Firestore, Realtime Database.

You don't want a database full of information from users who are no longer active. This additional dead space might increase your Firebase bills, in addition to being basic clutter in your database. Firestore charges $0.18 per gigabyte, which may not sound like much, but if you manage a popular programmed, this may quickly mount up.

Post a Comment

Previous Post Next Post