Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

data persistence when ios app is updated

Engaged ,
Aug 12, 2013 Aug 12, 2013

I'm saving files in AMF format in the application storage directory (app-storage:/). This works great, but the fles get deleted when the application is updated.

I'm dsitributing the app internally in the company via our intranet (ad-hoc). The users do not delete the app, they simply redownload the new version.

Where do I have to save the files in the iOS device so that they are not deleted when the application is updated?

Thanks

TOPICS
Development
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 27, 2013 Aug 27, 2013

bump

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 30, 2013 Aug 30, 2013

I know with shared objects if you install an app, save some data then install a newer version via flash all data is erased if you however update the app through the app store the data is saved, for your situation this is not possible since its an internal app. You can save the data externally to a server this way every time the app launches it could check for the correct data but of course this is much more troublesome and time consuming.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 30, 2013 Aug 30, 2013
LATEST

Thanks for your reply.

I was wrong in assuming when I upload the app via flash with a new version (without deleting the app from the device) it was updating it. Flash erases all data, and installs from zero.

I figured out that in fact when the app is updated via ad-hoc distribution or via iTunes the data persists...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines