How to read folder?

#1

When I’m using this app, I can’t access folders because of permission problems.
Can’t I make folder in this app? Or can’t I read copied folder?

0 Likes

#2

Hi nate :wave:

Sure you can, the problem is that you’re trying to write outside the sandbox. Try using the Documents path:

const path = require('path')
const documentsPath = path.join(process.env['HOME'], 'Documents')

Whatever you write there will also be accessible from the iOS Files app.

0 Likes