Natively Docs
Join our community 🔥
  • 👩‍🚀Getting Started
    • What is Natively?
    • Why Natively?
    • FAQ
    • Create Your First App
  • 🚀Natively Platform
    • 🚉Releases
    • 🖌️Appearance
      • 😼App Icon
      • 📱Loading Screen
      • 📱Error Screen
      • 🎨Style
    • 🎬Preview
    • ⭐Features
      • 🛳️Bottom Bar
      • 🚇Deeplinks
        • 🔥Firebase
        • 🔗Universal Links
        • 🌱Branch.io
      • 📍Geolocation
      • 🔔Notifications
        • 📲OneSignal Notifications
        • 🔥Firebase Notifications (Advanced)
      • 📒Contacts
      • 👩‍🎨Social Auth
        • 🍏Sign In with Apple
      • 💟HealthKit
      • 💰Purchases
      • 🤑Admob
      • 💳NFC
      • 📷Camera
      • 📂Photo Library
      • 🎤Microphone
      • 📈Analytics
        • 🕊️AppsFlyer
        • 😛Facebook
    • 🚚Publish
      • 🍏iOS App
      • 🤖Android App
    • ⚙️Settings
    • 🙈Subscription Plans
  • Guides
    • 🧋Integration (Native Features)
      • 🏅How to get started?
      • ℹ️Device
      • ℹ️Browser Info
      • 🛳️Bottom Bar
      • ✂️Clipboard
      • 🚦Push Notifications - OneSignal
      • 🚦Push Notifications - Firebase (Advanced)
      • 📍Geolocation
      • 📦App Storage
      • 🗝️Biometrics & Credentials
      • 📧Native SMS/Email
      • 📅Native Date Picker
      • 📸Native Camera
      • 🎙️Native Audio Recorder
      • 🈁Native Scanner (QR/Barcode)
      • 📔Contacts
      • 🍏Apple Sign In
      • ❤️HealthKit
      • 💸In-App Purchases
      • 🤑Admob
      • 💳NFC
      • 🥑Show Toast/Banner
      • ⏳Show/Hide Loading Screen
      • 🥑Haptic Feedback
      • 🖼️Share Media/Files
      • 📱Open an external App/URL
      • ✍️Request User's review
      • ↔️getInsets
      • 🎨Control Style & Colors
    • 🔍Troubleshooting
    • 🐈Setup RevenueCat App
    • 🚑Setup Admob App
    • 🚥Setup One Signal App
    • 🧑‍🤝‍🧑Setup website Universal Links (Deeplinks)
    • 🍕Testing & Submitting your app
    • 🔑Generate iOS Push Key (NEW)
    • 🔑Generate iOS Push Certificate (Legacy)
    • 🤝Affiliate program
    • 📕For Partners: Natively Brand Book.
Powered by GitBook
On this page
  • Create a new Firebase Project
  • Enable Dynamic Links
  • Set your first allowed domains
  • Add Android & iOS apps
  • Enable Deeplinks on the Natively platform
  • Create Dynamic Links

Was this helpful?

  1. Natively Platform
  2. Features
  3. Deeplinks

Firebase

Firebase Dynamic Links

PreviousDeeplinksNextUniversal Links

Last updated 9 months ago

Was this helpful?

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

  • Click New Project, enter the project name

You can use the same one for Android push notifications.

Enable Dynamic Links

  • 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)

  • Download & Save a config file (you will need it later)

  • Select previously created Bundle Identifier

  • Scroll down and enable Associated Domains

  • Click Save & Confirm

  • Add your Bundle ID (You can find this IDs in your Google Developer Console account or in Publish section in Natively)

  • Skip SHA-1 field (we will add it in next step)

  • Download & Save config file (we will need it later)

  • Make sure to finish flow and navigate to Project Overview

  • Go to Project settings, scroll down, select Android app

  • Now we need to add app's fingerprints

  • You can find these values in your Google Developer Console

  • Go to Setup -> App Integrity -> App Signing

  • Copy SHA-1 & SHA-256 values from App signing key ceritifcate section and add it to your firebase Android app

  • Copy SHA-1 & SHA-256 values from Upload key ceritifcate section and add it to your firebase Android app

  • Make sure you've added 4 SHA keys

If you don't see App integrity keys, make sure you've uploaded at least 1 build of your app to Google Play Console

Enable Deeplinks on the Natively platform

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)

Create Dynamic Links

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

Go to

Go to the and select **** (left menu)

Click on the

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

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

. 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.

🚀
⭐
🚇
🔥
https://console.firebase.google.com/
Apple Developer homepage
Certificates, IDs & Profiles
Identifiers
Firebase console
REST API
Analytics REST API
Manually
Firebase Dynamic Links