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

Closing the modal window programmatically #663

Closed AASapunkov closed 5 months ago

AASapunkov commented 1 year ago

Closing the modal window programmatically

Hello! Specify whether you have such an opportunity as closing the modal window programmatically??? And if not, then implement it???

I have two cases where I need it

1st case

2nd case

file

AASapunkov commented 1 year ago

Also, I need to close the modal before restarting the application

document_1

vonovak commented 5 months ago

Hello and thanks for asking, Dismissing the modal is possible on ios, but not with the user selection. To get the user selection, user needs to confirm it. On android, I'm not even sure this can be done.

If you want to give it a try,please go ahead. I won't do it because of the limitations mentioned above. Thank you 🙂