Updated on 2026-08-14
This commit is contained in:
parent
972a287b1d
commit
668c886fb9
3 changed files with 24 additions and 0 deletions
|
|
@ -102,6 +102,7 @@ internal class DeepLinkFactory @Inject constructor(
|
|||
|
||||
private fun launchDeepLink(deeplinkUri: Uri, coroutineScope: CoroutineScope, isFromOnNewIntent: Boolean) {
|
||||
when (deeplinkUri.scheme) {
|
||||
DeepLinkScheme.Https.scheme -> handleHttpDeepLinks(deeplinkUri)
|
||||
DeepLinkScheme.Tangem.scheme -> handleTangemDeepLinks(deeplinkUri, coroutineScope, isFromOnNewIntent)
|
||||
DeepLinkScheme.WalletConnect.scheme -> walletConnectDeepLink.create(deeplinkUri)
|
||||
else -> {
|
||||
|
|
@ -115,6 +116,13 @@ internal class DeepLinkFactory @Inject constructor(
|
|||
}
|
||||
}
|
||||
|
||||
private fun handleHttpDeepLinks(deeplinkUri: Uri) {
|
||||
if (deeplinkUri.host == DeepLinkRoute.PayApp.host && deeplinkUri.path?.startsWith("/pay-app") == true) {
|
||||
onboardVisaDeepLink.create(deeplinkUri)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
@Suppress("CyclomaticComplexMethod")
|
||||
private fun handleTangemDeepLinks(deeplinkUri: Uri, coroutineScope: CoroutineScope, isFromOnNewIntent: Boolean) {
|
||||
val queryParams = getQueryParams(deeplinkUri)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue