question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[document-picker] Passing multiple mime types on document picker

See original GitHub issue

I’m trying to get spreadsheet format files only but seems it is currenty not possible. It would be nice to have this. Also is it possible to use some wildcard for showing spreadsheets format only? I tried application/* but its not working.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:6
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
ursnjcommented, Apr 10, 2021

@EvanBacon any fix for this ???

2reactions
SampsonCrowleycommented, Mar 6, 2021

Bump, this is a huge UI issue. on android, it’s not possible to do even simple filters like image/* because android cameras save both a raw and jpg image. need to be aple to specify multiple specific formats. this is definitely something that is possible for all of the main platforms (web, android, iOS); therefore it’s completely unexpected to not be able to do something so fundamental to a proper file picker

Read more comments on GitHub >

github_iconTop Results From Across the Web

Passing multiple mime types as type in document picker expo?
I want to restrict that user can only choose pdf and images as files. can i do like this : const result =...
Read more >
DocumentPicker multiple MIME types | Voters - Expo - Canny
I want to allow the user to select and upload only Word Document, PDF, Excel Sheets and Images. I tried this await DocumentPicker.getDocumentAsync({...
Read more >
UIDocumentPickerViewController - Apple Developer
The document picker operates in two modes: Open a document. The user selects a document. The document picker provides access to the document,...
Read more >
Picking files in React Native apps using ... - LogRocket Blog
After selecting one or multiple documents, it will return a result that will have different metadata about the document the user has selected....
Read more >
DocumentPicker - Expo Documentation
expo-document-picker provides access to the system's UI for selecting documents from ... The MIME type(s) of the documents that are available to be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found