This must be how a lot of the other apps are doing it since I have seen
their SQLite files in their app contents.

I am only doing read only and was hoping that this be fine but your
suggestions are well taken.

What is the syntax for copying the file from the engine's folder?

Also any idea why I can't select Script Libraries for database and Database
Support for SQLite?


Glen


On Thu, Oct 15, 2015 at 12:31 PM, Ralph DiMola <[email protected]>
wrote:

> Mobile app's files specified in the "copy files" pane of the standalone
> settings are accessed via "the engine folder" path. You can't open SQLite
> DBs in "the engine folder" because "the engine folder" is read-only. There
> is no facility to open a SQLite db read-only. Option 1:Copy the db from
> "the
> engine folder" to "the documents folder" and open it there. On iOS make
> sure
> you mark any large files in the documents folder as "no backup" to make it
> through the review process. Option 2: Copy the db from "the engine folder"
> to "specialFolderPath("cache")" and open it there. The user can clear the
> cache so check at each startup to make sure the db is still in the
> "specialFolderPath("cache")" folder. There is no size limitation(within
> reason) for the cache on iOS as it is not backed up to the cloud.
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> [email protected]
>
>
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to