Both library and documents are sandboxed, I think all the listed folders
are. I mostly use documents so that I have the same file paths on both iOS
and Android since I generally need to build for both. But either one will work.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On March 1, 2024 10:08:15 AM Bob Sneidar via use-livecode
<use-livecode@lists.runrev.com> wrote:
Isn’t the Library sandboxed?
Bob S
On Feb 29, 2024, at 6:35 PM, Mike Kerner via use-livecode
<use-livecode@lists.runrev.com> wrote:
any reason to store in documents instead of in library?
it seems like there might be less of a chance of the user misusing the
Files app to break the app.
On Thu, Feb 29, 2024 at 5:32 PM Mike Kerner
<mikeker...@roadrunner.com<mailto:mikeker...@roadrunner.com>>
wrote:
ah. that's a better way of handling this. i was going to have the app
check the documents folder for updates, before loading a stack, but if i
keep the source stacks, there, it will work better.
On Thu, Feb 29, 2024 at 3:10 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:
You can't add or change anything inside the app bundle so downloaded
files
have to go in specialFolderPath("documents"). Copy the originals from the
resources folder to the documents folder on first launch so you always
have
a known file path location. Any file in documents will be overwritten
with
the new download if the file name is the same.
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode