vinzscam/react-native-file-viewer

Crash with iOS Action Sheet open

TheUltDev opened this issue · 1 comments

If ActionSheetIOS is open when FileViewer.open of this library is called the app crashes.

A simple workaround would be to close the action sheet, but this is not possible to do programmatically afaik.

For now I will be showing a splash screen with a loading bar to prevent the user from opening the action sheet until the preview opens. In the future I will try to fix the library but I don't have enough experience in the field or time currently.

Let me know if you need any crash logs or further information.

Awesome project btw. Thanks for all the work!

Some users of our app have faced with app crash when press Share button in opened doc