Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using URI scheme that starts with fb #951

Open
Ranhiru opened this issue Dec 1, 2021 · 3 comments
Open

Using URI scheme that starts with fb #951

Ranhiru opened this issue Dec 1, 2021 · 3 comments

Comments

@Ranhiru
Copy link

Ranhiru commented Dec 1, 2021

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 ?

@echo-branch
Copy link
Contributor

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.

@Ranhiru
Copy link
Author

Ranhiru commented Dec 1, 2021

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

@agerstner-branch
Copy link
Contributor

You could try this:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants