Create Folder Directory

I’m wondering if you can make an extension to create a file directory for your app so that, you can place files you create or values into that folder you made earlier… Is that possible? Oh and is permission runtime possible as well?

Whenever you store a file in a non-existent directory, File component automatically creates the directory and puts the file in.

2 Likes

It doesn’t, I tried that the other day with a /Android/Data/Profile/Profile.txt, it didn’t! That’s why I am asking… I did notice that if you have a package name for your app it creates file directory but, you can’t add folders.

Maybe that’s because I think that the /Android/Data has special permissions

Can you check in this one?
/MyAwesomeApp/Folder/file.txt

That didn’t work?