sideloading updates to mobile

Bob Sneidar bobsneidar at iotecdigital.com
Fri Mar 1 11:05:59 EST 2024


Isn’t the Library sandboxed?

Bob S


On Feb 29, 2024, at 6:35 PM, Mike Kerner via use-livecode <use-livecode at 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 <MikeKerner at roadrunner.com<mailto:MikeKerner at 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 at 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.




More information about the use-livecode mailing list