mimoguz / tripeaks-gdx

A simple tri peaks solitaire game using libGDX.
GNU General Public License v3.0
68 stars 8 forks source link

Statistics periodically get wiped #18

Closed BloodRaven0 closed 3 weeks ago

BloodRaven0 commented 2 years ago

I don't know when or why, but several times now (since statistics were added) when I open the app, play a game, then open the statistics, they only show the game I just played, all previous statistics are gone.

Edit: I just did some testing, and neither force-killing the app, nor restarting the phone seems to wipe the statistics.

BloodRaven0 commented 2 years ago

Some info that could be useful: I'm using the F-droid version, I'm on a custom Rom (Resurrection Remix) with Android 10, I use microG instead of google services, and google sync and google play are off.

If there is anything I can do to further diagnose the problem, let me know. Also check the edit to the OP above.

mimoguz commented 2 years ago

I reset settings and saves if there is a read error. Probably that.

mimoguz commented 2 years ago

The 1.0.1 release includes a small change that might mitigate this issue: the game now retries to load statistics even if it can't load the rest of the saved state.

BloodRaven0 commented 2 years ago

@mimoguz Sadly, it just happened again on v1.0.1

mimoguz commented 3 weeks ago

As I will hopefully release the new version soon, I'm closing the old issues. Please feel free to re-open if the problem resurfaces after v1.1 update.