How can I test Firebase Dynamic Links if my app is not in the App Store?

TIMEX picture TIMEX · Sep 21, 2016 · Viewed 15.6k times · Source

I'd like to be able to open the app and print the parameters when I click on the dynamic link (even though it's not published).

Is there a way to do this?

Answer

Todd Kerpelman picture Todd Kerpelman · Dec 9, 2016

Yes! In fact, I go through this exact process in the getting started videoS (part 1), (part 2), 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 you to the app store for the ID you listed above. You don't need to actually install this app -- just making it to the app store listing is good enough.
  • Now, go ahead and reinstall and run your app. If everything is working properly, it should retrieve and display the dynamic link data for you.