Ixam97 / CarStatsViewer

MIT License
98 stars 54 forks source link

Bug: Saved data can be lost due to corruption #160

Closed Ixam97 closed 1 year ago

Ixam97 commented 1 year ago

Due to corruption while writing data to json files recorded data can be lost.

This won't be an issue anymore once the database rework is completed. Saved tirp data won't be saved in seperate files anymore, but in a local room database, enabling much more reliable reads and writes while also enabling seamless trip resets without overriding older data.

Ixam97 commented 1 year ago

See https://github.com/Ixam97/CarStatsViewer/issues/46. The database should be much more reliable than saving json files.