Quantcast
Channel: Adobe Community : Unanswered Discussions - AIR Development
Viewing all articles
Browse latest Browse all 2010

iOS - Where to save files so they remain after app updates

$
0
0

Hi,

 

I'm developing a game and I save the state to a file as recommended in this article:

http://www.adobe.com/devnet/flash/articles/saving_state_air_apps.html

 

Which saves it here:

var f:File = File.applicationStorageDirectory.resolvePath("myApp.dat");


Everytime I compile the app gets uninstalled and the file is deleted. My concern is what happens when I release an update through the app store. Will the player data get lost? Where's the best place to save the player data so it doesnt get lost?

 

Other areas could be:

File.applicationDirectory

File.cacheDirectory

File.desktopDirectory

File.documentsDirectory

File.userDirectory

 

Has anyone had experience with this?


Viewing all articles
Browse latest Browse all 2010

Trending Articles