react-native-doc-viewer
react-native-doc-viewer copied to clipboard
Not working with pdf file or remote url on android device
Pdf is working on iOS not on Android
OpenFile.openDoc([{ url:"http://www.africau.edu/images/default/sample.pdf", fileName:"sample", cache:false, fileType:"pdf" }], (error, url) => { if (error) { this.setState({animating: false}); console.error(error); } else { this.setState({animating: false}); console.log(url) } })