- SDK Version: 37.0.8
- Platforms(Android/iOS/web/all): Android
How to specify different MIME type in DocumentPicker.getDocumentAsync({ type: ? });
I want to upload two formats images and pdf what should I specify in type for this category.
How to specify different MIME type in DocumentPicker.getDocumentAsync({ type: ? });
I want to upload two formats images and pdf what should I specify in type for this category.
Hey @karanbalodi1,
AFAIK this isn’t currently possible but let me double check internally. If it’s not a deal breaker you may end up having to use the */*
default wildcard that allows all formats.
I’ll circle back here.
Cheers,
Adam
I am strictly told to allow images and pdf to get uploaded but thank you for replying. I will look for an alternative.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.