diff --git a/index.js b/index.js index 1e2c7c2..0b33f32 100644 --- a/index.js +++ b/index.js @@ -24,6 +24,10 @@ class DocumentPickerUtil { static audio() { return (Platform.OS === 'android') ? "audio/*" : "public.audio"; } + + static pdf() { + return (Platform.OS === 'android') ? "application/pdf" : "com.adobe.pdf"; + } } module.exports = {DocumentPickerUtil, DocumentPicker}; \ No newline at end of file