[React Native] Android Crashes when used with Bottom Tabs

Product: react-native-pdftron

Product Version: Current master branch (642b7072f2f249414c63f94415f71b0ee8c0d624)

Please give a brief summary of your issue:

Using pdftron on Android with a BottomTabNavigator from react-native-screens causes the app to crash.

Please describe your issue and provide steps to reproduce it:

On Android, if you create a screen that contains a PDF (via the DocumentViewer component), and at least one other tab, when you try to access the PDF tab for the second time the app will crash.

I have created a Pull Request to fix the problem, but have received no response on github, so I decided to make a post here to increase visibility.

Please view Fix mTempFiles being null when inside a tab view on Android by mystborn · Pull Request #699 · ApryseSDK/pdftron-react-native · GitHub to see the fix.

1 Like

Thank you for reaching out to our Support Forum for assistance. In order to further assist you, would you be able to submit a support ticket? Submit a ticket : Apryse

1 Like

Ok, I have submitted a support ticket as well. Hopefully they will respond quickly, as the change is very minor, but it blocks us from your product entirely until it is fixed.

1 Like