Open sklinefelter opened 10 months ago
This one might be because the process was killed before the write was allowed to flush. Regular SharedPreferences
forces Activities, Broadcast Receivers, and Services to block the main thread on exit if the write queue hasn't completed. (Example)
Either that, or maybe I need to move away from using the internal Android Utils library and use something like GSON or other serialization library that isn't at the whim of Android OS versions of devices.
Hey @sklinefelter I have a PR up in #54 that should fix this issue. At the very least, it will provide some better logging, as the kotlinx serialization library provides a better exception message. Feel free to review it (or have the team review it). I won't be merging or publishing these changes until I fix another issue I'm investigating.
@sklinefelter I made a release of v1.2.5. Please update and see if the issue is resolved with this verison.
@sklinefelter Any update on this?
Hi @pablobaxter...it's me...again π€£ π .
Have a nice stacktrace for you from
_InternalCoreHarmony__HarmonyJsonUtilsKt
.We're getting this
EOFException
with 1.1.11, but I also believe the latest as well...we upgraded and then reverted.