-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
iOS: Implement security scope access (bookmark) for read and readDir #51
Comments
Hi @zenoxs , thanks for your interest! I am strongly against specific-OS-only functions in RN libraries. This one has a bunch of them, but that is the legacy, I want to get rid of them all over time (though, it might take a while). Re. bookmarks, I've added their support to |
Thanks for the quick reply and for all the details, that's exactly what I was expecting. I will try to replicate what you did for |
Presumably done for |
Hey,
First of all thank you for taking over the development of the fs lib.
I'm trying to access shared directories from my app on iOS, it should be possible using the new security scoped URL with bookmark: https://developer.apple.com/documentation/uikit/view_controllers/providing_access_to_directories.
I can submit a PR to implement this feature but I would like to know which approach do you prefer?
Would it make sense to create "readDirBookmark" and "readBookmark" functions only available for iOS? then passing the base64 encoded iOS bookmark (this would allow the implementation to work easily with https://react-native-documents.github.io/docs/doc-picker-api#bookmarkingresponse)
The text was updated successfully, but these errors were encountered: