Links
Comment on page
🧑🤝🧑

Setup website Universal Links (Deeplinks)

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.
assetlinks.json
279B
Code
  • 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

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.
apple-app-site-association
116B
Binary
  • 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