android-branch-deep-linking-attribution icon indicating copy to clipboard operation
android-branch-deep-linking-attribution copied to clipboard

Using URI scheme that starts with `fb`

Open Ranhiru opened this issue 3 years ago • 3 comments

I'm working on a project and trying to debug issues with Android deep links not working. The URI scheme that's set is something like fbXXXXXXXXXX:// where the Xs are numbers (E.g fb1234567890://)

Looking at the code in both the iOS repo and Android repo, it looks like these are special URIs that are ignored by Branch.

Is my thinking correct and is this one of the reasons why the deep links are sometimes ignored ?

Ranhiru avatar Dec 01 '21 04:12 Ranhiru

Ah yea. We try to prevent use of uri schemes that large companies tend to use to avoid conflicts. For example, facebook uses fb to prefix uris.

echo-branch avatar Dec 01 '21 19:12 echo-branch

Thank you!

Do you happen to know if the URL filtering happens differently when the app is not in the background (closed) ? Because this happens only when a deep link is clicked when the app is in the background. Otherwise, the link is detected correctly

Ranhiru avatar Dec 01 '21 22:12 Ranhiru

You could try this:

Put a breakpoint here and run the various use cases to see if it is called.

agerstner-branch avatar Dec 03 '21 01:12 agerstner-branch