Introduction: Firebase Dynamic Links are smart URLs that allow you to send users to specific locations within your app, regardless of whether they have the app installed. This guide will walk you through the process of creating a Firebase Dynamic Link for both Android and iOS platforms.
- A Firebase account and a project with your Android and iOS apps registered.
- Firebase SDK integrated into your Android and iOS apps.
Step 1: Access the Firebase Console
1.1. Visit the Firebase Console (https://console.firebase.google.com/) and sign in with your Google account.
1.2. Select your project from the dashboard or create a new one.
Step 2: Enable Firebase Dynamic Links
2.1. Click on “Dynamic Links” in the left-hand menu.
2.2. Click on “Get started” and follow the instructions to set up a Dynamic Links domain, which will look like this: https://<your_domain>.page.link.
2.3. Copy the link.
2.3. Go to Evlop- mobile app’s Shopify dashboard.
2.4. Go to the Account section.
2.5. Click on Edit Firebase configuration.
2.5. scroll down to the bottom ‘Firebase dynamic link URL for Deeplinks and Smart app banner’ section.
2.5. Paste the link copied. (eg. https://<your_domain>.page.link.)
2.6. Save the changes.
Step 3: Create a New Firebase Dynamic Link
3.1. Go back to the Firebase console.
3.2. Click on “Dynamic Links” in the left-hand menu.
3.3. Click on the “New Dynamic Link” button.
3.4. Enter a short and descriptive name for the link in the “Link name” field (e.g., “Promo”).
3.5. Click “Next.”
Step 4: Configure the Dynamic Link Behavior
4.1. In the “Dynamic Links” section, enter the URL you want users to be directed to when they open the link on a platform other than Android or iOS (e.g., a web page).
4.2. Click “Next.”
Step 5: Set up Deep Linking for iOS and Android.
5.1. In the “Apple” section, click ‘Open the deep link in your Apple App’ and select your Apple app from the dropdown menu.
5.2. Select ‘App store page for your app’ to redirect your users to the app store if they’ve not already installed your app. [You may need to add Team ID and App store ID if haven’t configured Already while adding an iOS app to the firebase project. Team ID can be copied from Apple developer account and App store ID can be copied from your app URL eg 123456789 is the App Store ID. from this app link : https://itunes.apple.com/us/app/yourapp/id123456789 ]
5.3. Click “Next.”
5.4. In the “Android” section, click ‘Open the deep link in your Android App’ and select your Android app from the dropdown menu.
5.5. Select the ‘Play Store page for your app’ to redirect your users to the Google Play Store if they’ve not already installed your app.
5.6. Click “Next.”
Step 6: Customize the Appearance of the Dynamic Link (Optional)
6.1. In the “Social” section, you can customize the appearance of your dynamic link when it’s shared on social media platforms by providing a title, description, and image.
6.2. Click “Next.”
Step 7: Review and Create Your Firebase Dynamic Link
7.1. Review your dynamic link settings and ensure everything is configured correctly.
7.2. Click “Create” to generate your new Firebase Dynamic Link.
Conclusion: You have now successfully created a Firebase Dynamic Link for both Android and iOS platforms. You can use this link in your marketing campaigns, user onboarding, or any other scenario where you want to direct users to specific content within your app. Additionally, you can create more dynamic links as needed through the Firebase Console.