vinzscam/react-native-file-viewer

App crash after viewer is dismissed

minhanhnguyen2196 opened this issue · 3 comments

Hi, thanks for the library
I'm facing this issue:
When the user goes back from the viewer app (the app that was used to open the file) to the current app using the Back Button on Android, the current app crashes

Help please!

Hi,
could you please provide more information? (like the error you're getting and a snippet of your code).
Otherwise it would be very hard to understand what is going on

oh sorry, it was my bad. I copied the file_viewer_provider_paths.xml file to the wrong folder xD

Hello there,

First of all thanks for the library. It works perfect. But problem is the same as here. Documents can be opened but When I press back button to go back root page, the app crashes and gives following error:

image