Files in Release Build

2 posts, 0 answers
  1. Tim
    Tim avatar
    11 posts
    Member since:
    Dec 2007

    Posted 04 Oct 2013 Link to this post

    Hi there,

    I'm currently implementing a solution to use a pre-created database file for when our application in icenium is loaded. When the application starts, I copy over the xxxxxx.db file from a folder called data which is in the root of my project, to the appropriate place dependent on platform.

    For iOS this is "/Documents/".
    for android it is something like "/data/data/<Application Name>/databases".

    This is generally fine. I can copy successfully on Android in both debug and release build settings.
    In iOS I can get this working in debug because all my project files are where I would expect them to be because of the need to keep the files for livesync.

    However, in release mode, I don't know where all my project files have disappeared to. Have they been made hidden? or compiled into a single file? or don't exist at all? I'd like some advice about where my project files exist on an iOS device when building for release in icenium graphite.

    Best Regards,

    Tim
  2. Tim
    Tim avatar
    11 posts
    Member since:
    Dec 2007

    Posted 04 Oct 2013 Link to this post

    After battling away I managed to find the files that I was looking for.

    the path is up from /Documents/ folder which takes us to the root of the application.

    Then we can go down into /cordova<versionnumber>.app/www/ then I could see all my project files.

    Hope this is helpful to someone.

    Tim.
Back to Top