đŸ”ĨFirebase

Firebase Dynamic Links

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 can be taken directly to the linked content in your native app. If a user opens the same Dynamic Link in a desktop browser, they can 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 can be prompted to install it; then, after installation, your app starts and can access the link.

Right now, we don't support 'custom domain' (only xxxx.page.link) & links analytics. We might consider adding this in the future.

Create a new Firebase Project

You can use the same one for Android push notifications.

  • Go to All products tab, scroll down, click Dynamic Links, and then Get started

  • Fill out Domain field

For now, we support only Google domains (xxxxxx.page.link). Custom domain support will be added in the future.

Set your first allowed domains

  • Click on Dynamic Links in the left menu and then click Set domains

  • Add allowed domains (a URLs related to your website)

Add Android & iOS apps

  • Go to Project Overview and click Add App at the top

  • Add your Bundle ID & App Store ID (You can find this IDs in your App Store Connect account)

That's it. At this step, you need to switch to the Natively app and fill out a few fields

  • Your Firebase Dynamic Links domain

  • iOS Config file (GoogleService-Info.plist)

  • Android Config file (google-services.json)

There are 3 ways (supported by Natively) how you can create a Dynamic Link:

  • Using the Firebase console. This is useful if you're creating promo links to share on social media.

  • Using the REST API. This is the preferred way to dynamically create links on platforms that don't have a Builder API. The Analytics REST API can be used to track the performance of promo campaigns created in the console.

  • Manually. If you don't need to track click data and you don't care if the links are long, you can manually construct Dynamic Links using URL parameters, and by doing so, avoid an extra network round trip.

Last updated