wkh237 / react-native-fetch-blob

A project committed to making file access and data transfer easier, efficient for React Native developers.
MIT License
2.61k stars 1.59k forks source link

openDocument() shows status bar, any way to hide it? #292

Open wootwoot1234 opened 7 years ago

wootwoot1234 commented 7 years ago

Thanks for this great module.

I'm using this module to view/share PDFs. My app has the status bar hidden all the time but for some reason when opening a PDF using openDocument() the status bar shows up. Any idea how to fix this?

I'm using RNFetchBlob.ios.openDocument(filePath); to open the pdf file.

I'm running: "react-native": "^0.34.1", "react-native-fetch-blob": "^0.10.2",

amitbravo commented 7 years ago

just wondering can we access not only images but all documents using react-native-fetch-blob , do I need to add other dependancies to access files/folders or it is already bundled with react-native-fetch-blob ? , because as we need to add react-native-image-picker so I have this idea whether we need to add other extra dependancy to access list of other docs .

abrantes01 commented 6 years ago

Any news one this ? Or does openDocument has a property like onClose so we can set the StatusBar back to hidden after the document viewer is closed ?