Universal links not working?

I am attempting to make universal linking work, I created a file with the proper name and added it to my website (firebase deployed it), but it does not show up properly when I go to the URL, and it is not passed on here.

For more info: stackoverflow.com/questions/66927121/apple-app-site-association-json-not-showing-up

I have implemented my association like it is done here, but when I then go to check the JSON by doing: day21.co/apple-app-site-association.

This shows up:
Code Block
{"applinks":{"apps":[],"details":[]}}



Rather than what I have in the file:
Code Block
{
"applinks": {
"apps": [],
"details": [
{
"appID": "BID.com.Name.SignUpFlowclub"
"paths": ["*"]
}
]
}
}



Here you can see the placement of the file, which I firebase deployed to hosting successfully. i.stack.imgur.com/tX5K2.png


What am I doing wrong?


Accepted Reply

Edit: the correct json shows up when you append .txt to the end of the URL.

I tried by doing

Code Block
touch apple-app-site-association
open apple-app-site-association

Then adding the json.

Code Block
Then run firebase deploy


Check website, and find the same result as before.

Update:

I forgot to move the file into the public folder before deploying, after doing so it all works correctly.

Replies

Edit: the correct json shows up when you append .txt to the end of the URL.

I tried by doing

Code Block
touch apple-app-site-association
open apple-app-site-association

Then adding the json.

Code Block
Then run firebase deploy


Check website, and find the same result as before.

Update:

I forgot to move the file into the public folder before deploying, after doing so it all works correctly.