Answered by:
Windows phone app - Local storage not persisted acros version change

Question
-
Apart from Publisher and product id , what else should match with previous version to maintain data across versions<br />ex: if my app use Local storage in version 1.0, how can i get that local storage values in version 2.0 alsoThursday, August 29, 2013 11:06 AM
Answers
-
App update don't replace Local storage. So in your v2.0 app you can use data, that was created in v1.0
- Marked as answer by Matt SmallMicrosoft employee, Moderator Tuesday, September 3, 2013 3:03 PM
Thursday, August 29, 2013 11:11 AM -
Are you asking about writing a Windows Store app (to run on Windows 8 and Windows RT) or a Windows Phone app (to run on Windows Phone). Your title says Windows Phone, but your text says store, and you posted in the Windows Store apps forums rather than in the Windows Phone Development forums
For Windows Store apps local data remains on upgrade. It will be removed when the user uninstalls the app. Changing the version of the app doesn't affect this.
- Marked as answer by Matt SmallMicrosoft employee, Moderator Tuesday, September 3, 2013 3:03 PM
Thursday, August 29, 2013 1:54 PMModerator
All replies
-
App update don't replace Local storage. So in your v2.0 app you can use data, that was created in v1.0
- Marked as answer by Matt SmallMicrosoft employee, Moderator Tuesday, September 3, 2013 3:03 PM
Thursday, August 29, 2013 11:11 AM -
What if I override store app version 1.0 with my local app with version 2.0?
Thursday, August 29, 2013 11:14 AM -
I think it could work, but you need set to your local app publisher id and product id from store app.Thursday, August 29, 2013 11:30 AM
-
Are you asking about writing a Windows Store app (to run on Windows 8 and Windows RT) or a Windows Phone app (to run on Windows Phone). Your title says Windows Phone, but your text says store, and you posted in the Windows Store apps forums rather than in the Windows Phone Development forums
For Windows Store apps local data remains on upgrade. It will be removed when the user uninstalls the app. Changing the version of the app doesn't affect this.
- Marked as answer by Matt SmallMicrosoft employee, Moderator Tuesday, September 3, 2013 3:03 PM
Thursday, August 29, 2013 1:54 PMModerator