fix(wallet): resolve DI scope mismatch, WalletState constructors, packaging conflict

- CardanoWalletManager moved CardanoClient dep out of AppScope — was causing
  Metro MissingBinding at compile time (CardanoClient is SessionScope)
- refreshBalance() now takes balanceLovelace param instead of fetching from client
- WalletState constructor calls fixed with all required fields
- app/build.gradle.kts: added META-INF/gradle/incremental.annotation.processors
  to pickFirsts to resolve moshi-kotlin-codegen/lombok resource conflict
- App builds and launches successfully on emulator (verified)
This commit is contained in:
Kayos 2026-03-27 21:56:01 -07:00
parent c722ecb3a7
commit ad89eddfea
18 changed files with 149 additions and 89 deletions

View file

@ -208,6 +208,7 @@ android {
packaging {
resources.pickFirsts += setOf(
"META-INF/versions/9/OSGI-INF/MANIFEST.MF",
"META-INF/gradle/incremental.annotation.processors",
)
jniLibs {
@ -315,6 +316,11 @@ licensee {
allowUrl("https://asm.ow2.io/license.html")
allowUrl("https://www.gnu.org/licenses/agpl-3.0.txt")
allowUrl("https://github.com/mhssn95/compose-color-picker/blob/main/LICENSE")
allowUrl("https://opensource.org/licenses/mit-license.php")
allowUrl("https://github.com/javaee/javax.annotation/blob/master/LICENSE")
allowUrl("https://www.bouncycastle.org/licence.html")
allowUrl("https://projectlombok.org/LICENSE")
allow("CC0-1.0")
ignoreDependencies("com.github.matrix-org", "matrix-analytics-events")
// Ignore dependency that are not third-party licenses to us.
ignoreDependencies(groupId = "io.element.android")