The file could not be accessed (Android)
mrikirill opened this issue · 1 comments
mrikirill commented
All about Android. I've downloaded a pdf file to a device storage. Next call:
FileViewer.open(filelPath, { showOpenWithDialog: true, showAppsSuggestions: true })
It shows 'Open with' menu with suggested Adobe Acrobat which is correct.
However, when I tap open with Adobe Acrobat it show an error:
This file could not be accessed, Check the location or the network and try again
Could someone help me with that ?
mrikirill commented
I've fixed. It was an issue related with file permission when I download a file by using Expo.FileSystem
Note for Expo users: if your app detached(ejected) don't use Expo.FileSystem instead on use react-native-fs