mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-07-22 19:35:51 +00:00
debug: trace RootViewModel.handleDeepLink top-level entry; add PEZ Airdrop label + trust-score gate to Mining Simulation
Deep link debug: DeepLinkModule wiring at app/root/di/deeplink/DeepLinksModule.kt confirmed MultisigDeepLinks IS included in the assembled handler list (ruling that out), yet the earlier MultisigOperationDetailsDeepLinkHandler-level Log.e calls never fired at all - not even the very first one in matches(). Logging one level up, at the true entry point, to see the raw Uri/scheme/authority/path as parsed and the final Result, before guessing further. Mining Simulation: adds a 'PEZ Airdrop' label above the square (user request), and refuses to activate + shows an explicit error if trust score is 0, instead of silently starting a permanently-zero-rate session.
This commit is contained in:
@@ -225,8 +225,11 @@ class RootViewModel(
|
||||
}
|
||||
|
||||
fun handleDeepLink(data: Uri) {
|
||||
android.util.Log.e("DeepLinkDebug", "RootViewModel.handleDeepLink: raw=$data scheme=${data.scheme} authority=${data.authority} path=${data.path}")
|
||||
launch {
|
||||
deepLinkHandler.handleDeepLink(data)
|
||||
val result = deepLinkHandler.handleDeepLink(data)
|
||||
android.util.Log.e("DeepLinkDebug", "RootViewModel.handleDeepLink: result=$result exceptionOrNull=${result.exceptionOrNull()}")
|
||||
result
|
||||
.onFailureInstance<DeepLinkHandlingException, Unit> {
|
||||
val errorMessage = formatDeepLinkHandlingException(resourceManager, it)
|
||||
showError(errorMessage)
|
||||
|
||||
Reference in New Issue
Block a user