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

@@ -9,8 +9,8 @@ object Deps {
const val compileSdkVersion = 31
const val minSdkVersion = 21
const val targetSdkVersion = 30
const val versionName = "1.1.0"
const val versionCode = 1_01_00_800 // last digits are alpha(0XX) beta(2XX) rc(4XX) release(8XX). Ex: 1_08_04_401 is an release candidate build of version 1.8.4 and 1_08_04_800 would be the final release.
const val versionName = "1.1.1"
const val versionCode = 1_01_01_800 // last digits are alpha(0XX) beta(2XX) rc(4XX) release(8XX). Ex: 1_08_04_401 is an release candidate build of version 1.8.4 and 1_08_04_800 would be the final release.
const val packageName = "dragonx.android"
@@ -78,7 +78,7 @@ object Deps {
./gradlew build
./gradlew build publishToMavenLocal
*/
const val SDK = "hush.android:hush-android-sdk:1.9.0-beta01-SNAPSHOT"
const val SDK = "hush.android:hush-android-sdk:1.9.1-beta01-SNAPSHOT"
}
object Misc {
const val LOTTIE = "com.airbnb.android:lottie:3.7.0"