Fix document library (#1182)

This commit is contained in:
enahum 2017-11-21 12:53:02 -03:00 committed by Harrison Healey
parent aa61391436
commit 92bc6e73ee
3 changed files with 5 additions and 4 deletions

View file

@ -180,7 +180,8 @@ export default class FileAttachmentDocument extends PureComponent {
OpenFile.openDoc([{
url: `${prefix}${path}`,
fileName: file.name,
fileType: file.extension
fileType: file.extension,
cache: false
}], (error) => {
if (error) {
const {intl} = this.context;

View file

@ -25,7 +25,7 @@
"react-native-circular-progress": "jaystramel/react-native-circular-progress",
"react-native-cookies": "3.2.0",
"react-native-device-info": "0.12.1",
"react-native-doc-viewer": "2.4.9",
"react-native-doc-viewer": "philipphecht/react-native-doc-viewer",
"react-native-drawer": "2.5.0",
"react-native-exception-handler": "2.3.0",
"react-native-fast-image": "1.0.0",

View file

@ -5032,9 +5032,9 @@ react-native-device-info@0.12.1:
version "0.12.1"
resolved "https://registry.yarnpkg.com/react-native-device-info/-/react-native-device-info-0.12.1.tgz#659ed145caa5a86a4815904381b25e9ebe0c24f6"
react-native-doc-viewer@2.4.9:
react-native-doc-viewer@philipphecht/react-native-doc-viewer:
version "2.4.9"
resolved "https://registry.yarnpkg.com/react-native-doc-viewer/-/react-native-doc-viewer-2.4.9.tgz#60edb4372a96acdb5fa343c75600decb843c7011"
resolved "https://codeload.github.com/philipphecht/react-native-doc-viewer/tar.gz/b1d1967606659fdac5371ec8a5458705f38efa64"
react-native-drawer@2.5.0:
version "2.5.0"