v1.1.1: Fix server reconnection, sync progress, and seed phrase handling

- Fix UI stuck on "Reconnecting" after server switch: HomeViewModel now
  rebinds flows to the new synchronizer via syncRestarted signal
- Show live sync progress during download/scan phases using weighted
  totalProgress (40% download + 60% scan) with block heights
- Handle DEADLINE_EXCEEDED errors the same as UNAVAILABLE (show server picker)
- Fix seed phrase validation: normalize input to lowercase, prefer exact
  word matches over autocomplete
- Wrap server picker reconnection in try/catch to prevent crashes
- Preserve birthday height when resetting synchronizer for server switch
- Run findReachableServer on IO dispatcher to avoid blocking main thread
- Guard Twig debug logging behind BuildConfig.DEBUG
- Add build.sh script for debug/release builds
- Bump version to 1.1.1, SDK to 1.9.1-beta01
This commit is contained in:
2026-03-24 16:33:41 -05:00
parent cced1a34ce
commit 601cf187a2
12 changed files with 151 additions and 28 deletions

View File

@@ -55,7 +55,13 @@ class ZcashWalletApp : Application(), CameraXConfig.Provider {
// reported by the crash reporting.
if (BuildConfig.DEBUG) {
StrictModeHelper.enableStrictMode()
cash.z.ecc.android.sdk.internal.Twig.enabled(true)
}
if (BuildConfig.DEBUG) {
cash.z.ecc.android.sdk.internal.Twig.plant(
cash.z.ecc.android.sdk.internal.TroubleshootingTwig(
printer = { android.util.Log.d("@TWIG", it); Unit }
)
)
cash.z.ecc.android.util.Twig.enabled(true)
}