File component problems

I get all sorts of error messages when i try to run the attached app with ai2 companion on my iphone.

To start with, I get the following error message, I guess there is some problem with setting the fileScope to “app”:

Then, when I try to list the files in the app specific directory, I get the following error message:

Is this an unreasonable attempt to manage files/directories on an iphone?

On android devices it works fine.

Here are the (I think relevant) blocks:

Here is the full app:

fileExplorer.aia (29.6 KB)

Thanks for the link, I keep this in mind.

It looks like there is a long way to go for the file component to work completely.

From the link I can see that TinyDB is fully supported.

Probably I will develop a basic data storage system tree from scratch using TinyDB.

I will need to check though if there is a limit to stored data using TinyDB.

I don't think this way will go much further, as the iOS file system is too different from Android's.

In particular, the FileScope approach will not be transferable to iOS.