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

Allow .stl files to be picked from the document picker #576

Closed raghav-lio closed 1 year ago

raghav-lio commented 2 years ago

Feature request

I am not sure what changes i would have to make, but i want to pick .stl files from inside my app using the document picker. Obviously the picker allows you to allow all files while picking but i want to specifically enable only for some mime types and not all.

Why it is needed

Basically, my app is used by customers who want to attach .stl files in their requuest. These files are basically used by the 3D printing industry generated from CAD-CAM softwares. I need to enable this as soon as possible. Please help me out if you can

vonovak commented 1 year ago

Hello, you're free to specify IMEs / UTIs that you want to allow. Those are the ways to control the picker behavior on Android / iOS and the package does not impose any limits here.

Thank you