Debugging App Links
App Links (AL) are links that users can open in mobile apps that support them. If their device has no apps like this, a link redirects the user to the default browser. An AL's domain should store a Digital Asset Links (DAL) file in JSON format, which lists apps that can open the link.
If there is an internet connection, the system checks the content of the DAL file and verifies an installed app. If the verification is successful, the app can handle App Links.
Testing App Links
App Link looks like this: {Your_YANDEX_CLIENT_ID}.merchant.applink.pay.yandex.ru
. There are several methods to test if your app can open them:
-
Copy the link and paste it into your device's text editor.
-
Click and hold the link and check if the context menu has the Open option. If the option is missing or clicking the option opens the browser, it means that the app failed the verification.
Note
If you insert the link in the browser address bar, the system interprets this as a direct intent to open the link in the browser.
- Go to the “About app” section on your app.
- Go to “Open by default”. If the app has been successfully verified, you'll see a line saying “
number
verified links”.
Debugging App Links
-
Make sure that:
- YANDEX_CLIENT_ID is added to the manifest.
- The DAL JSON file at
{Your_YANDEX_CLIENT_ID}.merchant.applink.pay.yandex.ru/.well-known/assetlinks.json
is readable. - Your app's certificate fingerprints in the DAL JSON file are correct.
- The app's certificate fingerprints only contain capital letters.
- An internet connection is established.
- When the app is being installed, no proxy or VPN is enabled on the device.
-
Delete the app and install it again. There may be faults with Android sometimes.
-
Once the app is installed, collect logs on the device and send them to the support team for more detailed diagnostics. Attach a description of your issue.