Tutorial on Firebase Dynamic Links

Dynamics things area unit superb since changes turn up perpetually.

Firebase Dynamic Links

The same is that the case with firebase Dynamic Link which will manipulate links and may amendment its behavior in Realtime.

What are Firebase Dynamic links?

Dynamic links area unit the deep links that employment per the configurations you employ.

With one click, you'll direct your users to the app, either robot or iOS.

The best part?

If your app isn't put in within the user’s device, you'll direct to the Play Store to transfer the app.

Do you know?

A base of operations Dynamic Link is wise.

What does one mean by being smart?

It suggests that it auto-detects either the app is put in or not.

If your app is put in, the app opens the link and redirects to the specified page or product.

If not put in, it prompts users to 1st transfer the app.

It’s an excellent thanks to increase your transfer.

And you'll use it in SMS selling moreover rather than Bitly short links.

How Do Firebase Dynamic Links Works?

Dynamic links are often created in many ways as you utilize consumer libraries or REST API.

But during this tutorial, I’m about to produce an easy and straightforward tutorial which will facilitate you:

  • Taking the users to open the web site if the app not put in.
  • Taking the users to the app if the app is put in.

Firebase Dynamic Links Tutorial

1. Create/Open AN android Studio Project

First of all, create a new or open AN existing project in humanoid Studio.

2. Add Firebase SDKs to Your App

Now add firebase SDK to your app.

Once done, you've got to feature the SHA-1 linguistic communication key. If you're exploitation app links, conjointly specify SHA-256.
  • To add the SHA-1 key to your app, move to humanoid Studio and click on on Gradle, that is on the market on the correct high facet.
  • Afterward, click on [your app]-> App -> Task -> android -> signing Report and you'll find SHA-1 Key within run window.
Then, in the Console, open your Firebase project and click on the gear icon to open settings.

After that, click "Attach Fingerprint" to enter your SHA-1 key. If you're working with app connections, you'll need to add a SHA-256 key; otherwise, you won't have to.

3. Set up Your Android App

After installing the firebase SDK, go to Gradle Script-> build.gradle(app) and add the dependencies mentioned below to the dependencies block.

implementation 'com.google.firebase:firebase-dynamic-links:19.1.0'
implementation 'com.google.firebase:firebase-analytics:17.3.0'

It's time to go to the Console and select Dynamic links -> Get started from the drop-down menu.

A popup box appears after that.

Here's where you'll put your domain name.

Do you already lack a domain name?

Don't worry, Firebase will provide you with a free subdomain. This can be used in the same way as abc.page.link, where page.link is provided by Firebase.

You'll see a page like this after your domain has been successfully registered.

4. Make a Connection That Is Dynamic

Finally, you've completed our project setup and are ready to build a dynamic connection.

There are a variety of other ways to make a dynamic connection, but I'm going to focus on the most basic.

Simply select the New dynamic connection option.

A new window has opened up. Select Next after entering text of your choosing, such as "Promo" if you're using it for a social media campaign.

Add deep connection URLs next, then press Next. The deep connection has already been discussed.

Afterward, outline behavior for your robot app.

When once open a dynamic link demo app is open, however if your app isn't put in on the user device, then the link can mechanically be redirected to the web site, as an example, firebasetutorials.com.

But in most cases, you may direct your user to the Play Store to transfer the app.

You can additionally set the behavior that once a user isn't able to install your app, then he/ she will be able to do explicit events.

For example, your app support API Level 21-30, and your user device API level is twenty, then what he/she will do? during this case, you'll direct the user to the web site.

Next, you'll be able to realize some advanced options here.

These options can assist you heaps after you ar making a social campaign to catch your audience to put in the app.

It works with 2 ways in which. you'll be able to show AN opening with a dynamic link, otherwise you will show a fine looking image with a pleasant and short title and outline, etc.

You can even track your campaign victimization firebase analytics tools.

This also tracks your progress in the Play Store.

The first URL for a dynamic connection is generated.

Post a Comment

Previous Post Next Post