[Windows] How do I get access to the user's document folder? #13196
-
Using @dr.pogodin/react-native-fs I have the following code:
which throws a "Access is denied" exception.
Can anyone suggest what the correct settings are? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
How are you using RNFS? My understanding is that Windows support for that hasn't been merged (see #2829). According to these docs it appears that |
Beta Was this translation helpful? Give feedback.
How are you using RNFS? My understanding is that Windows support for that hasn't been merged (see #2829).
According to these docs it appears that
broadFileSystemAccess
should be sufficient: https://learn.microsoft.com/en-us/windows/uwp/files/file-access-permissions#capabilities-for-accessing-other-locations