Firebase Dynamic Links

DZone 's Guide to

Firebase Dynamic Links

In this tutorial, we run through a step-by-step tutorial on how to easily create dynamic links using the Firebase development platform.

· Web Dev Zone ·
Free Resource

Dynamic links are smart URLs that allow you to send existing and potential users to any location within your iOS or Android app. They survive the app install process, so even new users see the content they're looking for when they open the app for the first time.

Key benefits of dynamic links:

  • Convert mobile web users to native app users.
  • Increase conversion for user-to-user sharing.
  • Drive more installs with social, email, and SMS marketing campaigns.
  • Turn desktop users into mobile app users.

Firebase dynamic links are links that work the way you want, on multiple platforms, and whether or not your app is already installed.

With dynamic links, your users get the best available experience for the platform they open your link on. If a user opens a dynamic link on iOS or Android, they will be taken directly to the linked content in your native app. If a user opens the same dynamic links in a desktop browser, they will be taken to the equivalent content on your website.

In addition, dynamic links work across app installs: if a user opens a dynamic link on iOS or Android and doesn't have your app installed, the user will be prompted to install it; then, after installation, your app starts and accesses the link.

How it Works

When a user opens one of your dynamic links, if your app isn't yet installed, the user is sent to the Play Store or App Store to install your app (unless you specify otherwise), and your app opens. You can then retrieve the link that was passed to your app and handle the deep link as appropriate for your app.

Steps to Configure Dynamic Links in the Firebase Console

  1. Login to console.firebase.google.com (here, I assume that you have configured the app in the Firebase Console).
  2. Open your project and click on Dynamic Links.

3. Provide deep link URLs to open in the Desktop and a dynamic link name. Click on NEXT.

4. Now click on Open the deep link in your iOS App.

5. In the 'Select iOS app' input field, you need to provide App Store Id and AppId prefix for your App.

6. The same steps apply to Android apps for defining link behavior.

7. Now click on 'CREATE DYNAMIC LINK.'

8. Now that you have everything set up, you can use this link on an iOS/Android Device, or even the desktop.

Happy reading. Have fun!

web dev ,firebase ,dynamic links ,application development

Published at DZone with permission of Anuj Sarawat . See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}