Streaming live at 10am (PST)

Apple App Site Association

Hi,

I am trying to use iOS Universal links in my app and my developer asked me to host a AASA JSON file in my webflow website.
Here is the documentation for AASA.
https://blog.branch.io/what-is-an-aasa-apple-app-site-association-file/

I created a page and added the following code in the body section of the Page’s custom code section but it doesn’t work:

{
    "applinks": {
        "apps": [],
        "details": [
            {
                "appID": “masking-it-like-this-so-it-is-not-public”,
                "paths": [ "*" ]
            }
        ]
    }
}

Please see the attached image on the results from a AASA Validator that explains the problem.

Based on that feedback, I then appended the following code to the JSON above.

      <Files apple-app-site-association >
                Header set Content-Type "application/json"
            </Files >
{
        "applinks": {
            "apps": [],
            "details": [
                {
                    "appID": “masking-it-like-this-so-it-is-not-public”,
                    "paths": [ "*" ]
                }
            ]
        }
    }

But placing the full JSON code in Header section or Body section of the page seem to make no difference. It doesn’t work.

Appreciate your help on how to fix this.

Thanks much.
Kiran K.

1 Like

You cannot upload and host your own files on Webflow, other than the following listed here https://university.webflow.com/article/asset-manager

ALSO, you cannot specify the path of the uploaded assets, and you’ll get a random filename/URL.

Woah. That’s a bummer. It will be a shame to move out of Webflow hosting for just this one reason.
In any case, thanks Sam for your response.

Am facing the same problem. Hope anyone here can help me too. Thanks in advance.
Regards,
https://notepad.software/ https://vidmate.onl/download/ https://filezilla.software/

Hi - did anyone com up with a solution for this. It’s crazy that this isn’t supported as so many websites have Apple mobile apps?

I look forward to hearing from you.

Hi Nick. Nope. Didn’t hear from Webflow.
Looks like not many people are asking for it, so.

Yeah it is a bummer.

hey @kkirank - so we came up with a solution. We ended up hosting the main domain and then redirecting all traffic other than /apple-app-site-association to site.unmind.com, which is where we now host the webflow website. As we use AWS I setup a Lambda@edge function with CloudFront to manage this rather than maintaining a server.

I hope this helps.

Thanks Nick. I will try that out.

This is an issue for us as well. Does webflow have a proper solution for this now?

Hey Webflow team, any news on this matter?
It would be more than cool to have an official solution for hosting apple-app-site-association or similar static files.

2 Likes

This is an issue for our site, too, meaning we will have to move away from webflow.

Just adding to this thread that this current lack of support will probably make us move away from webflow as well.

1 Like

+1 we also need this

1 Like

This is a major issue for us now

This is a big issue for us now that App Clips are coming to reality. A shame to not be able to add them to Webflow Sites!

1 Like

+1 we need this as well

+1 - we are building an Appclip on iOS14 and this issue is blocking us! Please can you build/provide a solution

+1 we need this as well

+1 Need this as well for using Apple Pay in Stripe Elements

Hey, guys, so how we fixed this:

  1. Rename the *.json file to be *.txt
  2. Upload it as a file from Assets
  3. Copy the link
    image
  4. In the Project settings go to Hosting > Re-directs add a re-direct
    //apple-app-site-association. > to the link you copied above.

Worked for us, hope this will help

1 Like