Questions tagged [android-deep-link]

327 questions
3
votes
0 answers

Jetpack Compose Navigation Deeplink handling for Files

I've been playing with Compose Navigation for a while and stumbled across this use case: When a user clicks on a File in his FileManager which my App can open, i want to jump to the specific screen where the user can view this file: I have a working…
3
votes
2 answers

How to get full deeplink url from intent?

My app handles deep links. And when I try to retrieve my deep link URL, I do get not the full URL (without query params). My AndroidManifest:
3
votes
2 answers

Android App Links - exclude specific sub-directory

I am using Android App Links to take users to a specific screen directly in my app. I am following the same approach as Rakuten, meaning the last path segment(LPs) of the URL is a valid domain, which lands users to a specific brand screen on my…
3
votes
1 answer

How to deep link on Huawei devices?

With this intent filter, devices with google services offer the option of opening a link in an application or in a browser. Huawei devices open directly in the browser. How to make earn a deep link on Huawei?
3
votes
1 answer

Close app on back button when fragment was opened by deep link of Navigation Component instead of returning to start destination fragment

So for example I have two fragments: start fragment which is used as start destination of my nav grapth fragment for a deep link When I open link from email it opens my app activity (recreats it if was already opened), then opens start…
3
votes
1 answer

retrieving deep link on destination in Android Navigation Component

is there any way to get deep-link that has been used to navigate to a destination? in addOnDestinationChangedListener method on navController there exists a NavDestination object, but I was not abled to get the deep-link.
mrzbn
  • 497
  • 1
  • 3
  • 15
3
votes
2 answers

Opening activity inside a navgraph with a deeplink causing a crash

I have an activity inside an navgraph, directly i am able to navigate to it by below code Navigation.findNavController(requireView())?.navigate(R.id.sampleActivity) Please find the navgraph below
3
votes
1 answer

Android Navigation Url Deep Link Back to Previous App

My app has just two destinations, FirstFragment and SecondFragment. I created an url Deep Link for the SecondFragment and it works fine. What I want is, after I enter the SecondFragment from the Deep Link, I want to go back to the previous app when…
3
votes
1 answer

Fragment automatically jumps to startdestination fragment of navigation graph when app opens after opening app through a Firebase dynamic link

I'm using Firebase Dynamic links to share a particular product with another user. I'm able to create the product share link. The link is generating fine. I'm detecting the link in my main login activity which is the launcher activity of the app. The…
3
votes
1 answer

Using string constants in deeplink URI with Jetpack Navigation

Is it possible to use a string constant in the deep link URI? Currently I have a few links, which lead to duplication of the host part:
3
votes
1 answer

Send FCM message to open deeplink in my android application by Laravel

How can i send Firebase cloud token to my android app to open my app deeplink? I implemented deeplink and its worked Then config my firebase FCM and my laravel send notification to my android device. with this…
3
votes
0 answers

Hosting digital asset link json file in a path instead of domain root?

Has anyone tried hosting assetlinks.json file in a query path instead of domain root? Background: We are currently working on Android FIDO Client implementation which interacts with custom FIDO server application. Here is the codelab if you're…
3
votes
2 answers

AppLinks(verified Deeplinks) in android does not work when app is installed from Google Play

We have a few intent-filters defined in AndroidManifest for deeplinks. We also have assetlinks.json file placed on our domain at proper location with correct SHA fingerprints. We are facing a weird issue where these App links open our app directly…
Abhishek Bansal
  • 5,197
  • 4
  • 40
  • 69
3
votes
1 answer

How to directly land to the app without asking user choice in android deep link

I have created a deep link but problem is it's opening a dialog as "Open with or use a different app" I don't want to make user to decide to choose the dialog. I want to directly open my app. Here is the code.
Ramji V
  • 121
  • 1
  • 5
3
votes
0 answers

How does one deep link into the preferences UI

I have an Android app that has used Preferences UI. I want to be able to deep link into the specific preference option. I can't figure out how to do that. I have set up the preferences using the tutorial as…
Krish
  • 63
  • 6