- Home /
Is PlayerPrefs data persisted after app upgrade from ios AppStore?
We have unlockable levels in our game. We store the unlocked level number using PlayerPrefs. We will release version 1.0 of our game to app store soon.
Later, if I want to give an upgraded version 1.1, how can I ensure that the PlayerPrefs data is retained even after the upgrade?
If the data is not retained, the player will loose the unlocked level number, and he will be forced to play the game from the first level again.
Any help is highly appreciated on the best way for data persistence. Thanks in Advance.
Answer by syclamoth · Nov 07, 2011 at 09:07 AM
As long as the 'Company Name' and 'Product Name' fields remain the same in your player settings, you shouldn't have any problems with settings not persisting. The settings files are keyed by those two values, so if you change either or both of them, you will no longer have the same settings file.
If the company and product name fields stay the same do player prefs still persist after uninstall and re-install?
Hi Sycla! do you know what "CompanyName" maps to in an iOS build?? Cheers!
Your answer
Follow this Question
Related Questions
Save downloaded content when App is updated 0 Answers
How do I specify build number when submitting to iTune Connect? 1 Answer
Can I update PlayerPrefs when iOS app triggers a memory warning 2 Answers
iOS App is much larger than Android App 1 Answer
How to save Coins,PlayerLevel,Player Exp and load it automaticly 0 Answers