iosapp-storeapple-app-site-associateapple-app-site-association

Apple App Site Association not working if app is not installed


We've been testing our app and in development things were perfect regarding app association/deeplinking. We have our .well-known/apple-app-site-association working, validating, Branch.io's AASA validator passing with our domain+team ID+bundle combo. Of course there wasn't a way to test it live with App Store link until it was actually on App Store.

Today we've released our app, and realized that even when we go to our page which should be handled by the deep linking, the "top bar" (install/open link) wasn't being displayed. If we install the app, then the top bar displays with the "open" link but not having "install" button when app isn't installed is killing the whole purpose.

Apple's search validation tool however gives the following error for "Link to Application" section:

Error no apps with domain entitlements
The entitlement data used to verify deep link dual authentication is from the current released version of your app. This data may take 48 hours to update.

Here is what we have:

We need to show the bar when app is not installed, too. Are we missing something or is it just a matter of time for Apple to index and map our App Store app and domain now?


Solution

  • What you are looking for is a Smart banner.

    To get this to appear you need to add some meta data to your web page.

    <meta name="apple-itunes-app" content="app-id=myAppStoreID, app-argument=myURL">

    There are two different processes at work in what you are trying to achieve: