11.2 Android Setup
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"
]
}
}
]
Replace the package_name value with your Android package name.
Now you need to generate two sha256 fingerprints (Debug and Release).
Replace the sha256_cert_fingerprints values with your values.
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

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