mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-05 22:36:34 +00:00
Remove runBlocking call to restore sessions when the app starts (#6193)
* Remove `runBlocking` call to restore sessions when the app starts Sadly, to do this we need to manually handle restoring the state from Appyx using internal values. At least it doesn't seem like they're going to change any time soon (or ever). This should take care of a few ANRs, although it may make loading the initial state a bit slower * Add `ReplaceAllOperation` for state restoration * Add warning comment for Appyx dependency
This commit is contained in:
committed by
GitHub
parent
beaf59ad97
commit
dfde64b466
@@ -42,6 +42,8 @@ serialization_json = "1.10.0"
|
||||
coil = "3.3.0"
|
||||
# Rollback to 1.0.4, 1.0.5 has this issue: https://github.com/airbnb/Showkase/issues/420
|
||||
showkase = "1.0.5"
|
||||
# There is some custom logic in `RootFlowNode` that may break because it reuses some Appyx internal APIs.
|
||||
# When upgrading this version, check state restoration still works fine.
|
||||
appyx = "1.7.1"
|
||||
sqldelight = "2.2.1"
|
||||
wysiwyg = "2.41.1"
|
||||
|
||||
Reference in New Issue
Block a user