title: What will happen to the SharedPreferences on update an Android App?
body: <p>I've stored user settings in the SharedPreferences in my App. What will happen with the SharedPreferences when I update the App via Google Play Store to a new version of the App?</p>
  <p>Will the SharedPrefernces still be there after the update or will they be deleted?</p>
  <p>So far I haven't found an answer on the web or Stackoverflow.</p>
  <p>Can you point me to some links they describe this process?</p>
  <p><strong>Edit:</strong>
  Meanwhile I found an other answer as well: <a href="https://stackoverflow.com/questions/7103453/sharedpreferences-update-unisntall">SharedPreferences behaviour on Update/Uninstall</a></p>
  <p><strong>Edit 2:</strong>
  Time past quite a bit when I first asked this question I recently learned that since Android 6.0 (API 23) it is also possible to use the auto backup functionality to <em>store</em> your shared preferences as described by <a href="https://developer.android.com/guide/topics/data/autobackup.html#EnablingAutoBackup" rel="nofollow noreferrer">Google here</a>.</p>
  <p>Just add the <code>&lt;application android:allowBackup=&quot;true&quot; ... &gt; </code> in your <code>AndroidManifest.xml</code> file.</p>