-
Notifications
You must be signed in to change notification settings - Fork 473
Visible RCTAsyncLocalStorage_V1 folder in IOS while i allow user to see Documents Directory to access Downloaded files. #222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I guess there are some directories in iOS Apps. |
@ahmad6242 sorry for late response, Currently there's no way to change the destination directory for iOS |
@tido64 Not yet, I plan to do this soon. |
Hi There |
I know it's not ideal, but here's a code that does the migration. It's well documented so it's easy to tell what's going on |
Hi, I've enabled the same flag UISupportsDocumentBrowser and using the latest 1.14.1 version of @react-native-async-storage/async-storage. But, I can still see the RCTAsyncLocalStorage_V1 folder in iOS File Manager. |
@yash-sage Hey, No, the migration is handled at app start and no additional code is necessary. The |
Motivation
This case is only for IOS devices because in android we can save files in many other locations.(i am using RNFetchBlob to save files)
but in IOS it is only allowing to save files in documents directory.
From the Application User can download PDF files, i am storing these files in documents directory,
i am allowing this in info plist so user can access and open the Downloaded files.
UIFileSharingEnabled
UISupportsDocumentBrowser
LSSupportsOpeningDocumentsInPlace
in that directory we have folder called RCTAsyncLocalStorage_V1 in which all the locally stored data is there in a manifest.json file
this allows user to see all the raw data that can be used to do some hacking or playing around with things.
Description
is there any other way possible that we hide that directory or use some other method rather than crating a file to store data locally.
New feature implementation
If we are able to implement such thing we can hide sensitive data from the end users.
Please let me know if anything is possible here.
The text was updated successfully, but these errors were encountered: