Author Topic: Documents folder in Build.zip ?  (Read 2152 times)

Zingrillo

  • Guest
Documents folder in Build.zip ?
« on: September 27, 2012, 06:48:53 am »
Hi,

I have an app with a local DB (Sqlite) updated via internet.

I put the Documents folder in the Build.zip file at the same level of Assets folder.

When I install the app on the Iphone I can't get the data.

Is the Documents folder contents being copied during installation?

Where must I put the Documents folder in the Build.zip file?

Thanks

tim

  • Administrator
  • Hero Member
  • *****
  • Posts: 1595
  • Karma: +11/-1
    • View Profile
    • DragonFireSDK
Re: Documents folder in Build.zip ?
« Reply #1 on: September 27, 2012, 11:48:09 am »
Zingrillo,

The Documents folder cannot be shipped with the app.  It's a folder that exists outside the app bundle and is for user-created data.  If you need to ship a file to be saved to Documents, you should take a look at this question in the DragonFireSDK FAQ:

http://www.dragonfiresdk.net/wiki/index.php?title=DragonFireSDK_FAQ#How_do_I_ship_a_file_for_the_Documents_folder.3F

Hope this helps!
Tim Sommers
DragonFireSDK Team

Zingrillo

  • Guest
Re: Documents folder in Build.zip ?
« Reply #2 on: September 27, 2012, 11:52:48 am »
Thanks... sorry for replicating questions ...