-
-
Notifications
You must be signed in to change notification settings - Fork 440
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
type: types.pdf does not limit the selection #706
Comments
android 13 |
Hello and thanks for reporting, Thank you 🙂 |
Thank you, I understand now; it's a problem with the document provider. Screenrecorder-2024-03-15-09-36-59-350.mp4 |
Is there no solution to this issue? Since third-party document providers do not restrict file types, there's nothing we can do. If it's unsolvable, can I limit which document providers can be used? For example, can I restrict users to only select files from the system's document provider and not from third-party document providers? |
Hello, |
Although I set it to PDF, I can still select files of any format. However, if I set it to images, only photos can be selected.
DocumentPicker.pick({
allowMultiSelection: false,
presentationStyle: 'fullScreen',
type: types.pdf,
copyTo: 'documentDirectory',
})
The text was updated successfully, but these errors were encountered: