K
K
KnightForce2018-10-03 14:08:24
iOS
KnightForce, 2018-10-03 14:08:24

What permission do you need to access the iOS file system?

The task is to make a file manager on React Native.
Only the user directory is needed.
I am using the React Native FS library .
I want to read the folder "Aplications", "var" or some other in "/", a warning is given
" The File couldn`t be opened because you don`t have permission to view it. "
What permission do I need to specify to have access?
Or how to get the path to the user's directory?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nick, 2018-10-17
@KnightForce

Well, in general, if my memory does not change me, you will not be able to read the root or any other directory of a non-your application on a device without a jailbreak. Therefore, I suggest using the list of constants that react-native-fs provides

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question