element-x-ada/plugins/src/main/kotlin
Jorge Martin Espinosa 3a7faa8b76
Fix TransactionTooLargeExceptions caused by Appyx (#6410)
* Fix `TransactionTooLargeExceptions` caused by Appyx

After a long debugging session, we discovered the code Appyx uses to clear the saved state of nodes that have been removed is not working because of a race condition, causing this saved state to grow indefinitely.

To fix it, we need to wait until the node has been disposed, which will call `SaveableStateHolder.removeState` once, removing the associated `SaveableStateRegistry`, and *then* call `removeState` again when we detect the node has been removed from the navigation graph.

Since these classes and APIs are private in Appyx, we had to copy and modify and use these copies.

* Remove ktlint checks on `SafeChildrenTransitionScope.kt`

* Don't count the new code for coverage
2026-03-23 18:07:00 +01:00
..
config Fix: use the right BuildTimeConfig field for the SDK DSN 2025-12-04 22:53:39 +01:00
extension Fix TransactionTooLargeExceptions caused by Appyx (#6410) 2026-03-23 18:07:00 +01:00
Enterprise.kt Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
io.element.android-compose-application.gradle.kts Improve Kover setup by using only convention plugins (#6213) 2026-03-16 14:41:07 +00:00
io.element.android-compose-library.gradle.kts Improve Kover setup by using only convention plugins (#6213) 2026-03-16 14:41:07 +00:00
io.element.android-library.gradle.kts Improve Kover setup by using only convention plugins (#6213) 2026-03-16 14:41:07 +00:00
io.element.android-root.gradle.kts Improve Kover setup by using only convention plugins (#6213) 2026-03-16 14:41:07 +00:00
io.element.jvm-library.gradle.kts Improve Kover setup by using only convention plugins (#6213) 2026-03-16 14:41:07 +00:00
Logger.kt Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
ModulesConfig.kt Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
Versions.kt Setting version for the release 26.03.3 2026-03-10 16:22:55 +01:00