Getting started with Dynamic Links on iOS - Pt.2 (Firecasts)
Why Stack Overflow recommends it
Stack Overflow users link it as the official walkthrough for handling incoming Firebase Dynamic Links in an iOS app, both to answer testing questions and as the guide they followed when asking for help.
Recommended by 1 people across 1 different months, 2016 to 2020.
What it is
Part 2 of the Firebase team's Firecasts series on Dynamic Links for iOS. It walks through receiving and interpreting a dynamic link inside an iOS app, following on from Part 1 which covers creating the links.
What people said
Recommends Todd Kerpelman · 2016-12 · Stack Overflow · on “How can I test Firebase Dynamic Links if my app is not in the App Store?”
Yes! In fact, I go through this exact process in the getting started videoS (part 1) [LINK] , (part 2) [this video] , which I recommend you check out if you haven't yet. But, generally speaking, you can test the "Open my app if I have it installed" flow simply by clicking on a dynamic link. If your app is installed on the device, it should open up just fine; even if it's not a published app. If you want to test the non-installed flow, this is pretty easy, too. First, give your Firebase project an app store ID in your project settings. It can be any valid App store ID -- it doesn't have to be for your app. Then generate a new dynamic link. This time, when you click on this new link, it should take
Cites Mark Iliev · 2019-08 · Stack Overflow · on “Firebase dynamic links always opens app store”
To get your dynamic links to work properly on iOS, you need to set up: associated domains This property sets up in custom entitlements file and looks like <key>com.apple.developer.associated-domains</key> <array> <string>applinks:myapp.page.link</string> </array> Url types In info.plist add URL types that firebase will use by default <key>CFBundleURLTypes</key> <array> .... Some others url schemes <dict> <key>CFBundleTypeRole</key> <string>Editor</string> <key>CFBundleURLName</key> <string>Bundle ID</string> <key>CFBundleURLSchemes</key> <array> <string>your.bundle.id</string> </array> </dict> .... </array> Also, you should add Team ID (required) and App Store ID (if your app not published,
Cites Celiuska · 2020-02 · Stack Overflow · on “Firebase DynamicLinks handleUniversalLink returns always false”
When handling a dynamic link with the app installed FIRDynamicLinks handleUniversalLink returns always false and the callback never gets called. We have a subdomain already linked: [LINK] so the apple-app-site-association file is ready and reachable. The FirebaseDynamicLinks SDK is in our app pods (v 4.0.1) Our app cababilities include as Associated Domains both: applinks:*.[mycompany].com and applinks:app.[mycompany].com We are using Xcode 11.3.1 and our AppDelegate is in Objective-C This is our AppDelegate code following the documentation from Firebase [this video] : - (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void(^)(
Cites cleanrun · 2020-06 · Stack Overflow · on “How to parse Firebase Dynamic Link parameter values and put it in a variable?”
I'm building an app that can receive Firebase's Dynamic Links and redirects it into a certain UIViewController . I've followed the steps on this video [this video] , but there's something that I still don't understand. So after I followed the steps above, I print my link on the debug area to something like this: Incoming link parameter is [LINK] Parameter id has a value of com.xxx.xxx Parameter referrer has a value of utm_source=XXX&utm_medium=xxx&utm_campaign=XXX This works perfectly, but what I want to do is I want to get the values of utm_source , utm_medium and utm_campaign and store it into a variable. I'm still uncertain on how do I manage to achieve this. Here is my code: func handleIncomi