You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the viewer without the picker where I download files using react-native's RNFS and open them with viewDocument from @react-native-documents/viewer. For IOS it seems to work just have to add file:///private/ to the RNFS.DocumentDirectoryPath constant however for Android it seems more tricky than that. Do you have any ideas on how to make it work without the picker ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to use the viewer without the picker where I download files using react-native's RNFS and open them with viewDocument from @react-native-documents/viewer. For IOS it seems to work just have to add file:///private/ to the RNFS.DocumentDirectoryPath constant however for Android it seems more tricky than that. Do you have any ideas on how to make it work without the picker ?
Beta Was this translation helpful? Give feedback.
All reactions