react-native-documents / document-picker

Document Picker for React Native
https://react-native-documents.github.io/
MIT License
1.35k stars 437 forks source link

feat: add property initialPath #494

Closed luciferes closed 4 months ago

luciferes commented 2 years ago

Summary

add property initialPath to specify the starting directory for the document picker

Test Plan

What's required for testing (prerequisites)?

N/A

What are the steps to reproduce (after prerequisites)?

N/A

Compatibility

OS Implemented
iOS
Android

Checklist

bhavesh-kreeti commented 1 year ago

@luciferes great work! in making the picker support the initial path.

Can we please resolve the comments and move the PR forward?

vonovak commented 4 months ago

Hello, upon taking another look on this, I see that this won't work. ACTION_GET_CONTENT has no support for specifying initial url, and on iOS, the url needs to be security-scoped.

I'm going to close this because it doesn't seem that it's going to get done in this PR.

Thank you for your time and effort! :)