Zoltan Demant
11/15/2022, 6:04 AMLocalSaveableStateRegistry.current.registerProvider(..) eventually leads to TransactionTooLargeException. Given that rememberSaveable uses it under the hood, is there another way to store state in compose that is immune to this crash? Im looking to store a `Map<String, Parcelable>`that represents the entire apps navigation state.Ian Lake
11/15/2022, 6:23 AMIan Lake
11/15/2022, 6:25 AMste
11/15/2022, 7:21 AMrememberSaveable and save only the bare minimum (text fields, navigation routes/arguments...). Querying the database a second time (after a configuration change occurs) is perfectly fineZoltan Demant
11/15/2022, 7:24 AMste
11/15/2022, 7:28 AMTransactionTooLargeException when you try to save a 800kB/1MB ish bundle (definitely a lot more than a bunch of strings)ste
11/15/2022, 7:30 AMZoltan Demant
11/15/2022, 7:43 AMAfzal Najam
11/15/2022, 9:25 AMZoltan Demant
11/15/2022, 9:55 AMsingleLine field; and even if I copy-paste a ton of text into it, I cant reproduce this crash. All other cases are just enums, booleans and UUID strings.
Im actually surprised by how much data can be stored in the bundle before it crashes. I have a very hard time imagining that someone would navigate around in the app for so long, it would literary take years to accumulate that amount 😅 Any other ideas?
Also, interesting tidbit: Can't represent a size of 214748364 in Constraints is thrown when theres "too much" text input. Might be worth filing a bug report about this? I have seen this crash in the past, never figured it out until now.ste
11/15/2022, 11:17 AMZoltan Demant
11/15/2022, 11:31 AM1.4.0-alpha02).shikasd
11/16/2022, 12:14 PMZoltan Demant
11/16/2022, 2:31 PMZoltan Demant
11/16/2022, 2:58 PMZoltan Demant
12/09/2022, 9:26 AM