🧑‍🤝‍🧑Setup website Universal Links (Deeplinks)

Setting up Universal Links for your mobile app enhances the user experience by providing a seamless transition between web and app content, increases user engagement and retention.

Android

Prerequisites

  • Enable the Universal Links feature and fill out all relevant information.

Setup Associated Domain

Create assetlinks.json file

  • Download the following template file and open it.

  • Replace BUNDLE_ID **** with your IDs

  • Replace PRODUCTION_SHA256 & STAGING_SHA256 with your fingerprint value

If you don't see 'App sigining' content, you need to upload your app first.

  • In the final result you should get something like this:

[
  {
    "relation": ["delegate_permission/common.handle_all_urls"],
    "target": {
      "namespace": "android_app",
      "package_name": "com.example.app",
      "sha256_cert_fingerprints":
        [
          "E7:8B: (YOUR KEY HERE) :BB:98",
          "0F:38: (YOUR KEY HERE) :1B:F2"
        ]
    }
  }
]
  • Save the file

Setup your bubble.io website

  • Open your bubble project

  • Go to the Settings -> SEO / metatags

  • Scroll down and find Hosting files in the root directory section

  • Set name to .well-known/assetlinks.json and upload your file

  • Publish the changes

Verify Android Domain Works

https://developers.google.com/digital-asset-links/tools/generator

iOS

Prerequisites

  • Add the Associated Domains feature to your Bundle Identifier.

  • Enable the Universal Links feature and fill out all relevant information.

Setup Associated Domain

Create apple-app-site-association file

  • Download the following template file and open it.

  • Replace TEAM_ID & BUNDLE_ID **** with your IDs

    • To find TEAM_ID, open the Apple's developer website

    • Click Membership

    • Copy your Team ID

  • In the final result you should get something like this:

{
	"applinks": {
		"apps": [],
		"details": [{
			"appID": "TEAM_ID.BUNDLE_ID",
			"paths": [
				"*"
			]
		}]
	}
}
  • Save the file

Setup your bubble.io website

  • Open your bubble project

  • Go to the Settings -> SEO / metatags

  • Scroll down and find Hosting files in the root directory section

  • Set name to .well-known/apple-app-site-association and upload your file

  • Publish the changes

Verify iOS Domain Works

https://branch.io/resources/aasa-validator/

Last updated