Bump sync_settings_ui to v0.4.0, fixing Connect Firebase hanging forever
Some checks failed
file-length / file length <= 250 lines (push) Has been cancelled
md-naming / markdown naming convention (push) Has been cancelled
release-apk / release (APK) (push) Has been cancelled

connectWithPassword() had no try/catch around firebaseFactory(), unlike
connectWithGoogle() right next to it. A thrown FirebaseAuthError (wrong
password, 400 from identitytoolkit) escaped uncaught out of the button's
async onPressed, so the screen sat on "Signing in..." forever with no
error shown -- reproduced live via the browser console. Fixed upstream in
kuhyx/utils (sync_settings_ui-v0.4.0), which also required moving
crdt_sync onto v0.11.0. Verified: wrong password now shows
"Firebase rejected that account: <reason>" and re-enables the button
instead of hanging.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
KRZYSZTOF RUDNICKI 2026-08-25 14:46:46 +02:00
parent 59ee407d80
commit 0a0fe88b09
2 changed files with 8 additions and 8 deletions

View File

@ -101,11 +101,11 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
path: crdt_sync_dart path: crdt_sync_dart
ref: "crdt_sync_dart-v0.10.0" ref: "crdt_sync_dart-v0.11.0"
resolved-ref: "5f64a8959b1db342da1f73157b1148aa0dfa38a8" resolved-ref: feaaf691037da1580fabc992819180d85a97c90a
url: "https://github.com/kuhyx/utils" url: "https://github.com/kuhyx/utils"
source: git source: git
version: "0.10.0" version: "0.11.0"
cross_file: cross_file:
dependency: transitive dependency: transitive
description: description:
@ -836,11 +836,11 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
path: sync_settings_ui path: sync_settings_ui
ref: "sync_settings_ui-v0.1.0" ref: "sync_settings_ui-v0.4.0"
resolved-ref: "23c693da4e6fd6004df09829a7d75365dc086c2c" resolved-ref: "26d7507fff52cd005bbd713e0b8608dc03a017b2"
url: "https://github.com/kuhyx/utils" url: "https://github.com/kuhyx/utils"
source: git source: git
version: "0.1.0" version: "0.4.0"
synchronized: synchronized:
dependency: transitive dependency: transitive
description: description:

View File

@ -33,7 +33,7 @@ dependencies:
crdt_sync: crdt_sync:
git: git:
url: https://github.com/kuhyx/utils url: https://github.com/kuhyx/utils
ref: crdt_sync_dart-v0.10.0 ref: crdt_sync_dart-v0.11.0
path: crdt_sync_dart path: crdt_sync_dart
# The following adds the Cupertino Icons font to your application. # The following adds the Cupertino Icons font to your application.
@ -82,7 +82,7 @@ dependencies:
sync_settings_ui: sync_settings_ui:
git: git:
url: https://github.com/kuhyx/utils url: https://github.com/kuhyx/utils
ref: sync_settings_ui-v0.1.0 ref: sync_settings_ui-v0.4.0
path: sync_settings_ui path: sync_settings_ui
url_launcher: ^6.3.2 url_launcher: ^6.3.2
uuid: ^4.5.3 uuid: ^4.5.3