DragonFireSDK Forum

Programming Discussions => Build Center => Topic started by: Zingrillo on September 27, 2012, 06:48:53 am

Title: Documents folder in Build.zip ?
Post by: Zingrillo 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
Title: Re: Documents folder in Build.zip ?
Post by: tim 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!
Title: Re: Documents folder in Build.zip ?
Post by: Zingrillo on September 27, 2012, 11:52:48 am
Thanks... sorry for replicating questions ...