From c8da9435ee3c56a517ee8c819614fe142a0c0a89 Mon Sep 17 00:00:00 2001 From: Nazar Yablonskyi Date: Wed, 15 Jun 2022 10:09:11 +0200 Subject: [PATCH] Update README.md Added a section regarding the missing step of updating Info.plist --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 4686f01a..fb106e8b 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,10 @@ npm install react-native-fs@2.0.1-rc.2 --save As @a-koka pointed out, you should then update your package.json to `"react-native-fs": "2.0.1-rc.2"` (without the tilde) +### Update Info.plist if you want files to appear in Documents directory + +Set [UIFileSharingEnabled](https://developer.apple.com/documentation/bundleresources/information_property_list/uifilesharingenabled) and [LSSupportsOpeningDocumentsInPlace](https://developer.apple.com/documentation/bundleresources/information_property_list/lssupportsopeningdocumentsinplace) to be true to grant access to the Documents directory + ### Adding automatically with react-native link At the command line, in your project folder, type: