Starting from 1.1.4, and enforced in 1.1.5, the default storage backend for PreferencesDataStore was changed from OkioStorage
to FileStorage
via a new PreferencesFileSerializer
. This aims to reduce CorruptionException
, but it introduces incompatibility if your app still has preferences saved with the old serialization format (i.e., from before 1.1.4).