Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Desktop, Mobile and non-browser Environments > AIR (Apollo)

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-27-2012, 11:20 AM   #1
Boreez
Registered User
 
Join Date: Apr 2010
Posts: 35
Default What happens to applicationStorageDirectory on app update? (iOS App Store)

I have an iPad app being sold in the iOS App Store. I use File.applicationStorageDirectory.resolvePath to save some XML files locally to the iPad (stuff like user's high scores when playing in offline mode).

What will happen to these files for my users if I upload a new app update to App Store? Will they get deleted because the update is a fresh install of the app, or will they be left alone?

Last edited by Boreez; 05-27-2012 at 11:27 AM.
Boreez is offline   Reply With Quote
Old 06-02-2012, 12:16 PM   #2
timwjohn
Registered User
 
Join Date: Oct 2006
Posts: 22
Default

Hi,

I'm interested to know your findings on this. I too am storing XML in my app storage directory and would like to know:

Does data persist through version updates?
Is data removed when the app is uninstalled?

Thanks!
timwjohn is offline   Reply With Quote
Old 08-31-2012, 03:01 PM   #3
Morg
1st party software!
 
Morg's Avatar
 
Join Date: Nov 2003
Location: South Africa
Posts: 916
Default

I came across this blog entry on ADobe: http://blogs.adobe.com/airodynamics/...ge-guidelines/

Perhaps that will shed some light.
Morg is offline   Reply With Quote
Old 08-31-2012, 03:13 PM   #4
Morg
1st party software!
 
Morg's Avatar
 
Join Date: Nov 2003
Location: South Africa
Posts: 916
Default

Also, I use an LSO to store my data in and it appeared that through app updates the data persisted. This data persisted while I was in the testing phase and deploying via TestFlightApp.
Morg is offline   Reply With Quote
Old 09-07-2012, 01:42 PM   #5
timwjohn
Registered User
 
Join Date: Oct 2006
Posts: 22
Talking

Great, thanks for letting us know Morg!
timwjohn is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:40 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.