Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
The problem is that it can happen in any 3rd party library
There is already a ticket to add filename to the error message
It will help a lot, but a better would be to have the possibility to define the default `corruptionHandler` implementation which will just restore preferences with default values and provide a callback that allows logging these events from all libraries.
It is always better to log some event and don't crash the app. Especially with 3rd party libraries where is usually impossible to fix it quickly.
It is so sad, that Android doesn't have some implicit logging library that everybody will use and which allows to log errors like this to Firebase instead of crashing apps. I mean errors where recovery is possible, like this one.
DataStore Component used: n/a
DataStore Version used: 1.1.1
Devices/Android versions reproduced on: Android 8, Philips TV