I'm currently working on an application which should launch application from a browser on Android. I also researched a bit about the intent anchors and tried a few things.
window.open("https://www.youtube.com/"); // works - opens youtube as it is a registered URL for the app
window.open("vnd.youtube:WATCH_ID"); // works - opens youtube with Watchid - schema found in the webs
window.open(
"intent://#Intent;package=com.google.android.youtube;end"
); // Does not work
<a href="intent://#Intent;package=com.google.android.youtube;end">
TestLink
</a>
<!-- This also does not work -->
Edit: For my purposes I needed to have the package name (which you can find on the Google Play Store) and the scheme. To find the scheme on your phone for an already installed app you can run
adb shell "dumpsys package com.package.any.id | grep -i scheme'"
and by running
adb shell "dumpsys package com.package.any.id"
you can also check the intents for the package.
Many thanks