Permanent data in IOS app

Chris Sheffield cmsheffield at me.com
Mon Nov 14 10:37:48 EST 2011


Hi Paolo,

If you are simply installing an update to an app, the app's data will *not* be deleted. But if you manually delete the app, then the app's data does get deleted and there is no way around this as far as I know.

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

On Nov 14, 2011, at 3:01 AM, paolo mazza wrote:

> Hi all.
> Referring to LC documentation "Each application in iPhoneOS is stored
> in its own 'sandbox' folder. An application is free to read and write
> files within this folder and its descendants, but is not allowed to
> access anything outside of this."
> So I guess that when you delete the application and  reinstall it in
> the iPhone, all data are gone.
> 
> But, how can store data permanently?
> 
> I need data not  to be cancelled when the user reinstalls the
> application or installs a new version of the application .
> 
> Is it possible? How can I do it ?
> 
> If it is not possible, I guess I have to record this data in a remote server.
> How can I get the IPhone Serial Number (or the IMEI or the ICCID )
> from a LC app ?
> 
> Thanks a lot.
> 
> Paolo Mazza
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list