quickstart-ios icon indicating copy to clipboard operation
quickstart-ios copied to clipboard

Firebase Dynamic-Links is not working for different target in same project in iOS

Open anhkieet opened this issue 7 years ago • 9 comments
trafficstars

What do I have to implement for Firebase Dynamic-Links with Firebase for the same project with different targets?

Example:

Tap link A to open app A (target A) Tap link B to open app B (target B)

Thanks!

anhkieet avatar Feb 01 '18 07:02 anhkieet

Are your different targets two different apps with two separate Firebase projects associated?

If you're using two bundle identifiers with the same Firebase project, it's likely that's not supported by Dynamic Links.

morganchen12 avatar Feb 01 '18 19:02 morganchen12

I know it's a quite old issue, but the problem is still present today and it's been really hard to find good information about it. It took me quite a while to figure out that Firebase Dynamic Links simply don't support multiple iOS apps within the same Firebase project using the same domain.

It's quite annoying to figure this out after having implemented everything. Maybe you can add a short note to the associated Firebase docs? Furthermore, there are some notes out there (e.g. this one) stating that this may get implemented in the future. May I ask for an update about this?

For anyone else getting here: I've written an extensive answer about this on StackOverflow.

Johnson145 avatar Apr 14 '20 13:04 Johnson145

Thanks for the in-depth StackOverflow post, @Johnson145. I'll look at adding this to the docs.

morganchen12 avatar Apr 14 '20 17:04 morganchen12

@morganchen12 it's mid of 2021 I am curious why such an important thing was not even mentioned anywhere

artemtkachenko avatar Jun 11 '21 07:06 artemtkachenko

any news on this topic?

romeo4934 avatar Jun 15 '21 18:06 romeo4934

@morganchen12

romeo4934 avatar Jun 15 '21 18:06 romeo4934

Hey, no news on this topic. We're examining broader bundle ID restrictions as we try to increase our platform coverage, but no guarantee that it'll have an impact on this specific Dynamic Links issue.

morganchen12 avatar Jun 15 '21 22:06 morganchen12

one technical question, you are using Pasteboard for the deferred deeplink for iOS and as well Android?

romeo4934 avatar Jun 16 '21 11:06 romeo4934

iOS does use pasteboard and falls back on an approximate-fingerprinting scheme if pasteboard fails or isn't available. I'm not sure what Android uses.

morganchen12 avatar Jun 16 '21 18:06 morganchen12