Dynamic Link Settings misunderstand

750 views
Skip to first unread message

thomas ecolasse

unread,
Jul 29, 2019, 9:36:10 AM7/29/19
to Firebase Google Group
Hello, I'm trying to work with Dynamic Link system (on unity),
I've created a sub domain, add it to the Hosting page, and now I've created a prefix url (blabla.com/dp),
I've created a dynamic link with that prefix url (blabla.com/dp/friend),
When I check the debug view from firebase, it shows (blabla.com/friend instead of /dp/friend, I don't understand why?

I've added some screen to help you understand it,
Thank you,
Thomas.
screen2.png
screen1.png

Kato Richardson

unread,
Jul 29, 2019, 12:59:55 PM7/29/19
to Firebase Google Group
Hi Thomas,

I don't think your configured subdomain can include /dp and that's probably getting trimmed. I think you need to configure the subdomain without the extra pathing and manually add that to the link (so /dp/friend instead of /friend).

☼, Kato

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/aea143c6-f995-4b5c-9ca9-a8b13ca1b075%40googlegroups.com.


--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Kiana McNellis

unread,
Jul 29, 2019, 1:29:36 PM7/29/19
to fireba...@googlegroups.com
Hi Thomas,

Just wanted to check if you've setup the firebase.json file for firebase hosting, and deployed it?  You'll need to have a rewrites section with:
{
     
"source": "/dp/**",
     
"dynamicLinks": true
}

Let me know,
Kiana

On Mon, Jul 29, 2019 at 6:36 AM thomas ecolasse <thomas....@gmail.com> wrote:
--

thomas ecolasse

unread,
Jul 30, 2019, 9:04:23 AM7/30/19
to fireba...@googlegroups.com
All right, I do understand better now thanks to you,
So yes I've deployed it :)
I still have the same problem, and when I try the android project I've got this:
Firebase.FirebaseException: 400: Your project does not own Dynamic Links domain: https://app.blabla.com

So you can see from the url that:

Welcome

Firebase Hosting Setup Complete

You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary! 

So I'm guessing it's fully configured, but when I check for https://app.blabla.com/dp I've got a 404 page not foud from firebase, and when I check https://app.blabla.com/dp/friend I'm redirect to my main url www.blabla.com

Still in trouble ^^
Thanks,
Thomas.



Le lun. 29 juil. 2019 à 21:30, thomas ecolasse <thomas....@gmail.com> a écrit :
Hello,
Thank you for your answers,

I do set the firebase.json like that:

{
     
"appAssociation": "AUTO",
"rewrites": [
"source": "/**",  // Dynamic Links start with "https://<your-domain>/"
    "dynamicLinks": true ]
}

What do you mean with "deployed it"? the firebase.json is on the hosting repository and that all..

Thomas.


thomas ecolasse

unread,
Jul 30, 2019, 9:04:23 AM7/30/19
to fireba...@googlegroups.com
Nevermind, I use the generated prefix from firebase ".page.link" it's working fine, but now I'm facing how to share the uri to android/ios, I don't find anything on firebase dynamic links doc, don't have some ideas?

Thanks,
Thomas.
Reply all
Reply to author
Forward
0 new messages