@87c34046 DataStore significantly fixed several SharedPreferences corruption issues for us at Google (but yes, we deployed internal version before it became AndroidX). It was especially important for us because it could do multi-process access safely (which is where most complexity comes from IIRC).
I agree that SQLite is also fine when it comes to integrity, but it's hardly any less complex or comparable.
@87c34046 Having said that... I'm honestly not quite sure if DataStore makes sense for most apps in the wild, it doesn't really add all that much over SharedPrefs for applications that store small amounts of data.
@87c34046 DataStore significantly fixed several SharedPreferences corruption issues for us at Google (but yes, we deployed internal version before it became AndroidX). It was especially important for us because it could do multi-process access safely (which is where most complexity comes from IIRC).
I agree that SQLite is also fine when it comes to integrity, but it's hardly any less complex or comparable.
Notes by Jernej Virag :androidHead: | export