Produce a valid apple-app-site-association and assetlinks.json from the identifiers you already have. Fill in either side, or both. Nothing leaves your browser.
The Apple file is per path. It says which parts of the domain your app handles, so you can claim /product/* and leave the marketing pages to the browser. The Android file carries no paths at all: it associates the app with the whole host, and your intent filters inside the app decide what to do with each URL.
That difference catches people out when porting a configuration across. A path list that works on iOS has no Android equivalent in this file, and adding one does nothing.
This generator emits components, the modern Apple form, rather than the older paths array. Components match on path, query and fragment separately, which is what you need for anything more precise than a prefix, and the older form is no longer documented.
Leaving the paths field empty claims every path on the domain. That is the right default for an app-first product and the wrong one for a site with a large marketing presence, where it means tapping any link from another app opens your app.
Both live under /.well-known/ at the root of each host you claim. The Apple file has no extension, which trips up servers that infer content type from one: it must still be served as application/json.
Serve them with a 200 and no redirect. Neither platform follows one, and a host that canonicalises www will redirect these files along with everything else.
Tolinku hosts both association files for you, keeps them valid as your routes change, and tells you when a link stops resolving.