From 2f31de30ca3dcc45298087b16103b86e67546ff2 Mon Sep 17 00:00:00 2001 From: npomfret Date: Wed, 27 Jul 2016 16:10:50 +0100 Subject: [PATCH] added a pdf filter --- index.js | 4 ++++ 1 file changed, 4 insertions(+) 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