Bug: saves are destroyed on app uninstall

Technical issues and bugs for the mobile version.
Post Reply
User avatar
lolmaus
Space Cadet
Space Cadet
Posts: 15
Joined: Thu Sep 26, 2013 10:25 pm

Bug: saves are destroyed on app uninstall

Post by lolmaus » Fri Sep 27, 2013 1:19 am

I followed the advice to redownload app from Humble so that i have the latest version.

Humble didn't allow to redownload the app unless i uninstalled it. So i did. Result: lost all progress.

Saves should be stored in a user storage area and remain after uninstall!

PS Android

User avatar
stevetranby
Developer
Developer
Posts: 387
Joined: Wed Feb 20, 2013 11:14 pm
Location: Colorado

Re: Bug: saves are destroyed on app uninstall

Post by stevetranby » Fri Sep 27, 2013 2:36 am

Hmm, will look into this. It should be the same package name and thus overwrite itself without requiring an uninstall. Also looking into writing to external storage, may even help with other save issues.
"I see dead codes, and create instances of Deja-vu in the galaxy."
Development (Mobile Team) • Game Design • Business • Warballoon Co-founder

User avatar
lolmaus
Space Cadet
Space Cadet
Posts: 15
Joined: Thu Sep 26, 2013 10:25 pm

Re: Bug: saves are destroyed on app uninstall

Post by lolmaus » Fri Sep 27, 2013 2:45 am

Uninstalling is a requirement of the Humble app. It just does not have the download option if the game is installed.

User avatar
stevetranby
Developer
Developer
Posts: 387
Joined: Wed Feb 20, 2013 11:14 pm
Location: Colorado

Re: Bug: saves are destroyed on app uninstall

Post by stevetranby » Fri Sep 27, 2013 2:53 am

Thanks for info, will discuss with them. I believe in this case it was due to the both builds having the same version since the initial one wasn't meant to be released, but got cached during testing, so hopefully that's not the case for all future updates. That said, external storage for save games is likely a smart move regardless.
"I see dead codes, and create instances of Deja-vu in the galaxy."
Development (Mobile Team) • Game Design • Business • Warballoon Co-founder

User avatar
Zavier
Non-Dev Member
Non-Dev Member
Posts: 1108
Joined: Thu Dec 13, 2012 10:44 pm

Re: Bug: saves are destroyed on app uninstall

Post by Zavier » Fri Sep 27, 2013 8:01 am

Aren't games in their own environment and when uninstalled so are saves?

If humble doesn't update but install and reinstall, then it would be removing the saves and acting like a new never before installed game right?

-Zavier
I am a volunteer player and do not work for War Balloon

User avatar
stevetranby
Developer
Developer
Posts: 387
Joined: Wed Feb 20, 2013 11:14 pm
Location: Colorado

Re: Bug: saves are destroyed on app uninstall

Post by stevetranby » Fri Sep 27, 2013 2:29 pm

Internal Storage is private, but removed when uninstalled.
External Storage is shared and public by default, not deleted on uninstall, but also "removable".
(http://developer.android.com/guide/topi ... orage.html)

However, you should be able to overwrite an app on install if it has a greater version build number. The first update wasn't supposed to be an update, but rather replace the file with same version.

Humble is just hosting the file for download and thus should overwrite, not require an uninstall. Obviously only if everything works as planned.
"I see dead codes, and create instances of Deja-vu in the galaxy."
Development (Mobile Team) • Game Design • Business • Warballoon Co-founder

Post Reply