react-native-file-viewer icon indicating copy to clipboard operation
react-native-file-viewer copied to clipboard

Crash with iOS Action Sheet open

Open TheUltDev opened this issue 4 years ago • 1 comments
trafficstars

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!

TheUltDev avatar Feb 02 '21 02:02 TheUltDev

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

code-by avatar Oct 18 '21 15:10 code-by