11.2 Android Setup

  1. From your Cpanel, go to the File Manager > Your Site > .well-known folder and create a file named assetlinks.json and open the file and insert the following code.

[
    {
        "relation": [
            "delegate_permission/common.handle_all_urls"
        ],
        "target": {
            "namespace": "android_app",
            "package_name": "com.mrblab.newsfreak",
            "sha256_cert_fingerprints": [
                "56:35:86:19:1F:37:76:31:7F:16:F5:48:0F:8A:67:D8:42:3A:98:09:A0:45:3D:18:E9:F1:40:04:CB:30:52:54",
                
                "4C:5F:7D:8F:45:F8:AF:BF:06:21:FA:76:0A:A5:FC:0B:17:38:42:7F:55:DE:B8:BA:50:85:D4:DA:DD:0B:63:C9"
            ]
        }
    }
]
  1. Replace the package_name value with your Android package name.

  2. Now you need to generate two sha256 fingerprints (Debug and Release).

  3. Replace the sha256_cert_fingerprints values with your values.

  4. Save the file. Now, You can check on this site if your deep link setup working not: https://developers.google.com/digital-asset-links/tools/generator

  1. From the source code, go to the android/app/src/main/AndroidManifest.xml file and add your site URL.

That's it. Android configuration for deep/app links is complete.

Last updated