Why is my Firebase Dynamic Links asking users where to open the link twice?

2,615 views
Skip to first unread message

Kevin Sung

unread,
Aug 10, 2018, 3:45:07 AM8/10/18
to Firebase Google Group

I have an APP which can handle deep links. Normally if users have our APP installed, they will be asked whether to open in APP/web browser when they click on our links.

Recently I am trying to use Firebase Dynamic Link. When users click on the link and select "Open with Chrome", another prompt wii appear again and users will have to click on "Open with Chrome" again. Why is is like that and how can I avoid it?

Thanks!

Ian Barber

unread,
Aug 10, 2018, 6:02:26 PM8/10/18
to Firebase Google Group
Do you have examples of the links, and more information on the platforms this is happening on? For example, is this always, or certain versions etc.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/8e7d80df-d0e6-49df-b635-275caf502775%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kevin Sung

unread,
Aug 11, 2018, 3:28:52 PM8/11/18
to Firebase Google Group
I just created the links on the console (not with API). Just put in the intended URL, and all other options were left as default

The problems occurred on both of my android testing phones. So I thinking it's an issue on all androids. While links created by the Google URL shortener works just fine..

Ian Barber

unread,
Aug 13, 2018, 1:28:41 PM8/13/18
to Firebase Google Group
Can you share a link you're having a problem with?

On Sat, Aug 11, 2018 at 12:28 PM Kevin Sung <sun...@gmail.com> wrote:
I just created the links on the console (not with API). Just put in the intended URL, and all other options were left as default 

The problems occurred on both of my android testing phones. So I thinking it's an issue on all androids. While links created by the Google URL shortener works just fine..

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.

Kevin Sung

unread,
Aug 14, 2018, 4:14:32 AM8/14/18
to Firebase Google Group

Ian Barber

unread,
Aug 14, 2018, 1:26:42 PM8/14/18
to Firebase Google Group
Aha, that helps: https://penana.page.link/Blog?d=1 gives you some debugging. It looks like your Android app isn't set up fully for app links, hence the extra disambig. Make sure you've added the correct SHA256 key on the console.

Kevin Sung

unread,
Aug 15, 2018, 2:38:33 AM8/15/18
to Firebase Google Group
Thanks. I have just fixed the warnings, but the issue persists.

Ian Barber

unread,
Aug 15, 2018, 5:18:25 PM8/15/18
to Firebase Google Group
You haven't linked any Android apps in to your project, so:

* The short link is opening in chrome and being resolved to your web URL 
* The web URL is causing a disambiguation prompt before going to your app via app links

Effectively you're using dynamic links as a regular URL shortener - it wont redirect to the Play store to install the app if is not there. If you just want a regular shortlink, we recommend bit.ly or owl.ly. If you want the dynamic linking functionality, you need to add the SDK to your app https://firebase.google.com/docs/dynamic-links/android/receive and include the parameters in your link configuration. 

Kevin Sung

unread,
Aug 16, 2018, 2:23:53 AM8/16/18
to Firebase Google Group
But why the prompt shows twice? 

I don't think it's a good idea to open the link in the APP without asking our users. They should be able to choose whether they want to use the web browser or the APP. If a user wants to always use the APP, he/she can choose "Always" on the prompt.

Ian Barber

unread,
Aug 16, 2018, 12:03:18 PM8/16/18
to Firebase Google Group
I am guessing it shows twice because your app is declaring it can handle each kind of link: 

1) foo.page.link: do you want "foo app" or web. You choose web
2) Web is redirected to foo.com: do you want "foo app" or web



Reply all
Reply to author
Forward
0 new messages