Questions tagged [android-deep-link]
327 questions
4
votes
0 answers
Back stack is getting cleared when we navigate between activities via deeplink URI
I have an ActivityA and an ActivityB (in a library module). I navigate from ActivityA to ActivityB via startActivity().
Inside ActivityB I have a NavHost and a Composable which is resolving a deeplink.
When I press back, I have the ActivityA in the…

Vikram Ragu
- 169
- 1
- 8
4
votes
2 answers
Linking.getInitialURL() promise resolves always null only when app is not running
How I run deeplinks via adb:
adb shell am start -W -a android.intent.action.VIEW -d "https://my.site.com/my/path" com.my.app.package
In this AndroidManifest.xml:

shogitai
- 1,823
- 1
- 23
- 50
4
votes
0 answers
Is Deep Linking in Android 12 only possible on production environment?
There are actually 2 parts to this question
Starting Android 12 Deep linking has changed quite a bit.
Domain verification
User approval for default links to open the app
My first question is are both of these needed to be implemented for the deep…

Glitch_Znab
- 496
- 4
- 13
4
votes
5 answers
Deep Links navigation in Jetpack Compose
I want to use deep links with Jetpack Compose's Nav Host and followed this page on Compose Navigation: https://developer.android.com/jetpack/compose/navigation#deeplinks
My implementation:
AndroidManifest.xml:

Mr. Pine
- 239
- 3
- 13
4
votes
1 answer
BottomNavigationView. Navigation to destination with deeplink cause to add destination fragment also in first tab
Let's say we have a bottom navigation view with 4 tabs, we have a deeplink for a fragment of 4 tab, so when navigating from this deeplink to 4 tab - it works as it should, but when after that manually select the first tab, a fragment of 4 tab is…

Alex Alex
- 131
- 7
4
votes
1 answer
Deeplink isn't correctly redirect if app is closed
I'm using Jetpack Navigation for deeplinks. Deeplink isn't redirect correctly if the app wasn't opened before. However, if the app exists in memory, the app is coming to the foreground and deeplink is opening correctly. I have 2 activity. One…

Serhat
- 187
- 1
- 14
4
votes
0 answers
Navigation Component - Synthetic Back Stack
Situation:
My app is designed to operate in the following way-
1. On fresh install:
OpeningFragment -> Fragment1 -> Fragment2
2. Restarting the app, after closing it in Fragment2:
OpeningFragment -> Fragment2
In the second situation I want Fragment1…

greenMaven
- 51
- 4
4
votes
0 answers
Android Chrome Custom Tabs Deep Link Redirect in OAuth flow 'cancelled'
I am debugging why I am seeing a "(canceled)" status in chrome custom tabs when redirect to deep link is sent using a custom scheme. ie myapp://app/path?foo=bar
The activity in my manifest is as follows:
The reason I…

lostintranslation
- 23,756
- 50
- 159
- 262
4
votes
0 answers
Jetpack Navigation handling deeplinks manually in onNewIntent
I'm using Jetpack Navigation.
I need to handle deeplinks manually because:
1) Implicit deeplinks are not working properly with android:launchMode="singleTask" Deeplink isn't correctly redirect if the app is already opened
2) I'm passing in my…

jakub
- 3,576
- 3
- 29
- 55
4
votes
1 answer
Android deep link Firefox like Chrome
I have an unclaimed bounty for this question. If someone is able to provide a working answer that meets my criteria, I will reward them with the bounty. It’s not visible because the bounty expired, but I can reward it after the fact to an…

jungledev
- 4,195
- 1
- 37
- 52
3
votes
0 answers
Deeplink issue after upgrading gradle
I have app using deeplinks with navigation component. Until usage of AGP 8.0.2 and gradle wrapper 8.0 everything was working perfect.
I have verified that just this update causes collapse of recognizing my deeplinks in system causing error "Activity…

masztalski
- 152
- 2
- 15
3
votes
0 answers
How can a native Android App support multiple SSO providers and allow users to login with different accounts without requiring manual logout in Chrome
I am trying to implement an SSO login in a native Android app and want to follow the best practices outlined in RFC 8252 (OAuth 2.0 for Native Apps). This requires using Custom Tabs rather than WebViews:
B.2. Android Implementation Details
Apps…

Roberto Leinardi
- 10,641
- 6
- 65
- 69
3
votes
0 answers
How can i get Uri params in Flutter Mobile when open with Deeplink
I configured Navigator through GoRouter and I want to know how to receive a parameter through a deep link.
Instead of configuring arguments in Widget corresponding to the destination,
For iOS simulators, on the connected terminal,
xcrun simctl…

김상현
- 268
- 1
- 2
- 10
3
votes
0 answers
Deep link problem on a Android 12 Pixel 6
My app on the following device won't auto-verify the domain, I need to turn it on from the app settings manually.
Device Make: Google
Model: Pixel 6
Android OS Version: 12
Build number: SQ3A.220605.009.A1
The weird thing about this is that the deep…

RandomGuy
- 41
- 5
3
votes
0 answers
Android when users do not use Chrome does not deep link properly
I found that on Android 12 if your default browser is Samsung or Firefox that Android app links do not open in app and it appears to be on purpose.
See links on how to turn it off on your…

David Corrado
- 363
- 3
- 19