Questions tagged [android-app-links]

114 questions
56
votes
11 answers

Android app link not working in android 12 always opening in browser

I have hosted assetlinks file into our domain https://ourdomain/.well-known/assetlinks.json And also verified this using https://developers.google.com/digital-asset-links/tools/generator and from android studio's App Links Assitant and got verified…
Asd
  • 561
  • 1
  • 4
  • 5
27
votes
4 answers

Android App link - Open a url from app in browser without triggering App Link

I have enabled App linking in my application. It works fine. But in my application there are some scenarios where i cannot handle the incoming url. In those cases i want to redirect that url to the default browser in the device. Currently what i…
Akhil Soman
  • 2,077
  • 2
  • 17
  • 30
17
votes
8 answers

App Links `legacy_failure` verification error on Android 12

I have setup assetlinks.json and AndroidManifest.xml so that the desired App Links are verified in all previous versions of Android. However, the verification no longer works in Android 12 (currently Beta 2). adb shell pm get-app-links…
Mars Lan
  • 471
  • 1
  • 4
  • 7
15
votes
2 answers

Android app link not working after the application is made live in play store

I have implemented Android app links based on the below links. https://developer.android.com/studio/write/app-link-indexing.html https://developer.android.com/training/app-links I have hosted assetlinks file into our domain…
Pruthvi
  • 590
  • 4
  • 22
14
votes
3 answers

App Link not opening in Android 12 by default. Possible SHA256 issue

I have set up my deeplink by uploading the assetlinks.json file here https://example.com/.well-known/assetlinks.json Its working well till Android 11. It also works in Android 12 if it's not downloaded from Playstore(ie installed from my android…
hushed_voice
  • 3,161
  • 3
  • 34
  • 66
12
votes
1 answer

Prevent redirect from triggering App / Universal Link behavior

We have a web product and Android/iOS mobile apps with App (Android) & Universal (iOS) links enabled. This enables the OS to open our app in various scenarios where the user would otherwise have been navigated to our mobile web product. We are now…
siger
  • 3,112
  • 1
  • 27
  • 42
12
votes
3 answers

Android tries to verify host despite android:autoVerify="false"

In my app I have 3 activities, MainActivity, SecondaryActivity and TertiaryActivity. I want SecondaryActivity to be a default app link handler for a particular domain on Android 6, as described in this guide. At the same time, I want another…
Anton Cherkashyn
  • 5,719
  • 6
  • 43
  • 80
11
votes
3 answers

Android Applink url resolving conflicts error

I added .well-known/assetlinks.json to my site and when I try link and verify in android studio app link assistant it says "Success! Your app is associated with the selected domains." But when I test app links in android studio it says "URL…
nikinci
  • 444
  • 6
  • 25
8
votes
2 answers

Direct App Deep Link not working evethough all configs are correct in Android

I am trying App Linking from URL in Android , that is opening app directly when clicking a respective link without showing suggestions from intent chooser (app not yet live in play store ) Eventhough all of my configs are correct ... Direct app Link…
RagAnt
  • 1,064
  • 2
  • 17
  • 35
8
votes
3 answers

Android applinks not working in released build but work correctly from a local install

I have a game that is using applinks. The applinks work fine when running debug and release versions from my computer but don't work for the version downloaded from Google Play. With the Google Play version, I get a dialog asking which app should…
Will Calderwood
  • 4,393
  • 3
  • 39
  • 64
8
votes
1 answer

App Linking not working on testing environment

I am trying to implement app linking in my application. When I open the app I have a login screen with a login button. This login button when is pressed goes in browser for web login and then it is redirect into app. I want I open the application…
Gabrielle
  • 4,933
  • 13
  • 62
  • 122
7
votes
0 answers

Android App Link Declare Website Association SHA-256 fingerprint Error

I am trying to Android App Linking via App Links Assistant in Android Studio (Android Studio version 3.3). I have entered all the site domain and Application ID correctly. I tried both signing config as well as Select keystore file option for…
6
votes
1 answer

Unknown command: verify-app-links when using adb shell pm verify-app-links

I'm using applinks follow: https://developer.android.com/training/app-links/verify-site-associations When use cmd : adb shell pm verify-app-links show: Unknown command: verify-app-links my adb version is: $ adb --version Android Debug Bridge…
Matrix
  • 503
  • 3
  • 17
6
votes
2 answers

Android App Links manual verification not working

I have an Android app whose targetSdkVersion : 30 and App Links are working as expected on my device running Android OS 11, but they are broken (web links don't open the app by default) on another device running Android OS 12 because of these…
Prudhvi
  • 2,276
  • 7
  • 34
  • 54
6
votes
3 answers

How to Disable Android App links if user is on website?

Let us say there is a website https://www.example.com and we are listening to https://www.example.com/product in Android App with following intent filter
codepeaker
  • 420
  • 8
  • 15
1
2 3 4 5 6 7 8