added a pdf filter

This commit is contained in:
npomfret 2016-07-27 16:10:50 +01:00
parent 936bc92002
commit 2f31de30ca

View File

@ -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};