Skip to main content
Known Participant
December 24, 2012
Question

sharedObject not persistant after App update (iOS)

  • December 24, 2012
  • 2 replies
  • 1046 views

So I have some data stored in a SO. When I explicitly close the app (using double click on home button and closing from the bottom list of icons) the SO persists after reopening the app.

But when I upload the app to the device after compilation with a new version, SO gets deleted...

I'm using an ad-hoc profile for enterprise deployment, with Air 3.4 and iOS6.

The filename and content are the same in the app xml...

This topic has been closed for replies.

2 replies

Nimisha1
Participating Frequently
January 2, 2013

We have a shared object bug in AIR 3.5 : 3347676 :[Platform_IOS]Shared Objects are stored differently in Air 3.5.

But there is a workaround for the same and you can find it here http://blogs.adobe.com/airodynamics/2012/12/10/changed-behavior-of-shared-object-on-ios-in-air-3-5/

January 2, 2013

You may want to go through this technote by Apple:

http://developer.apple.com/library/ios/#technotes/tn2285/_index.html#//apple_ref/doc/uid/DTS40011323

Apple recommends that for testing update scenarios,

"Install an ad hoc build of the update through iTunes on a device that already has the old version of the app installed. (from AppStore)

Do not use Xcode to install or run updates to your app for quality assurance testing."