I am making an interactive book app that will download books and store them in the system.DocumentsDirectory. However, the app will also come with 1 book in the system upon download of the app.
So, how can I make sure that the files I have in my Documents directory actually get included when I build the app for either Xcode simulator or Device ? I have tried creating a Documents directory in the source-folder, and there is also a Document directory in the sandbox folder for the Corona simulator. But when I create the build for Xcode, the app has no data to load - and I must assume that means the files have not been included in the build.
Also, I was planning to create directories for each downloaded book, but just read that Corona can’t create directories. Does that mean that I really must ensure that there are no duplicate filenames downloaded, and store them ALL in the same directory ? If so, I would consider this a major flaw, and something that should be added to Corona ASAP.
Hope someone can be of assistance.
-mortenft [import]uid: 75621 topic_id: 14231 reply_id: 314231[/import]